summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2014-11-23 22:41:38 +0100
committerGilles Caulier <[email protected]>2014-11-23 22:41:38 +0100
commitfbdcb4350f2fa5c630073d4da37239ba30683681 (patch)
tree655b5fa8e96c66e148aceb0ce6e3a6afd3c8a710
parent77a87d41bf5331255d2a9528639b0967b1754c83 (diff)
fix warnings
-rw-r--r--tests/test_itemmarkertiler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_itemmarkertiler.cpp b/tests/test_itemmarkertiler.cpp
index ab273c2..f11d4c4 100644
--- a/tests/test_itemmarkertiler.cpp
+++ b/tests/test_itemmarkertiler.cpp
@@ -33,9 +33,9 @@ using namespace KGeoMap;
const int CoordinatesRole = Qt::UserRole + 0;
MarkerModelHelper::MarkerModelHelper(QAbstractItemModel* const itemModel, QItemSelectionModel* const itemSelectionModel)
- : ModelHelper(itemModel),
- m_itemModel(itemModel),
- m_itemSelectionModel(itemSelectionModel)
+ : ModelHelper(itemModel),
+ m_itemModel(itemModel),
+ m_itemSelectionModel(itemSelectionModel)
{
connect(itemModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)),
this, SLOT(slotDataChanged(QModelIndex,QModelIndex)));
@@ -246,7 +246,7 @@ void TestItemMarkerTiler::testMoveMarkers2()
const QModelIndex markerIndex1 = itemModel->indexFromItem(item1);
QStandardItem* const item2 = MakeItemAt(coord_1_2);
itemModel->appendRow(item2);
- const QModelIndex markerIndex2 = itemModel->indexFromItem(item2);
+// const QModelIndex markerIndex2 = itemModel->indexFromItem(item2);
for (int l = 1; l <= fillLevel; ++l)
{
@@ -259,8 +259,8 @@ void TestItemMarkerTiler::testMoveMarkers2()
QStandardItem* const item3 = MakeItemAt(coord_50_60);
itemModel->appendRow(item3);
- const QModelIndex markerIndex3 = itemModel->indexFromItem(item3);
-
+// const QModelIndex markerIndex3 = itemModel->indexFromItem(item3);
+
for (int l = 1; l <= fillLevel; ++l)
{
const TileIndex tileIndex = TileIndex::fromCoordinates(coord_50_60, l);