OSDN Git Service

WatchHandler: Fix warnings
authorAurindam Jana <aurindam.jana@nokia.com>
Mon, 12 Sep 2011 10:45:17 +0000 (12:45 +0200)
committerhjk <qthjk@ovi.com>
Mon, 12 Sep 2011 12:31:28 +0000 (14:31 +0200)
Change-Id: I877a78b48e7b5c0abb30db6661b9e1986be61b47
Reviewed-on: http://codereview.qt-project.org/4659
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
src/plugins/debugger/watchhandler.cpp

index 8518b4b..cfec2dc 100644 (file)
@@ -129,8 +129,8 @@ public:
 ///////////////////////////////////////////////////////////////////////
 
 WatchModel::WatchModel(WatchHandler *handler, WatchType type)
-    : QAbstractItemModel(handler), m_handler(handler), m_type(type),
-      m_generationCounter(0)
+    : QAbstractItemModel(handler), m_generationCounter(0),
+      m_handler(handler), m_type(type)
 {
     m_root = new WatchItem;
     m_root->hasChildren = 1;