Nikolai Kosjar
18e1dbed54
C++: Handle invalid indices in OverviewModel
This makes the following ModelTests pass:
ModelTest::nonDestructiveBasicTest()
Q_ASSERT(model->data(QModelIndex()) == QVariant());
Qt::ItemFlags flags = model->flags(QModelIndex());
Q_ASSERT(flags == Qt::ItemIsDropEnabled || flags == 0);
Task-number: QTCREATORBUG-13142
Change-Id: If639981079b79d8b5b3bed22fb47453650449706
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2016-04-28 09:36:18 +00:00
..
2016-04-11 11:24:33 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2015-01-28 16:16:40 +00:00
2015-11-19 14:48:38 +00:00
2014-05-28 15:46:00 +02:00
2016-04-11 15:50:26 +00:00
2016-04-11 11:24:33 +00:00
2016-03-04 14:22:27 +00:00
2016-03-04 14:22:27 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-03-04 14:22:27 +00:00
2016-03-04 14:22:27 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-04-11 11:24:33 +00:00
2016-04-06 08:48:32 +00:00
2016-04-27 11:42:21 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-04-28 09:36:18 +00:00
2016-04-06 08:48:32 +00:00
2016-01-19 15:59:41 +00:00
2016-03-08 17:24:22 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00
2016-01-19 15:59:41 +00:00