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>
///////////////////////////////////////////////////////////////////////
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;