[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kross/ui
From: Anselmo Melo <anselmolsm () gmail ! com>
Date: 2010-06-16 1:16:35
Message-ID: 20100616011635.0EE67AC8D4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1138412 by amelo:
Fix compilation - missing header in gcc 4.4.1
Also changed from qWarning to kDebug
M +2 -1 model.cpp
--- trunk/KDE/kdelibs/kross/ui/model.cpp #1138411:1138412
@@ -25,6 +25,7 @@
#include <kglobal.h>
#include <klocale.h>
+#include <kdebug.h>
#include <QtCore/QEvent>
#include <QtCore/QMimeData>
@@ -221,7 +222,7 @@
ActionCollection* par = index.isValid() ? collection( index ) : d->collection;
Q_ASSERT_X( par, "ActionCollectionModel::rowCount", "index is not an action nor a collection" );
if (!par) {
- qWarning()<<"index is not an action nor a collection"<<index;
+ kDebug()<<"index is not an action nor a collection"<<index;
return 0;
}
int rows = par->actions().count() + par->collections().count();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic