@@ -419,13 +419,6 @@ private Q_SLOTS:
419419 QDir::setCurrent(oldCurrent);
420420 }
421421
422− void testSettings_data() {
423− QTest::addColumn<QStringList>("storedList");
424−
425− QTest::newRow("2 stored") << (QStringList() << "abs-icon" << "no-icon");
426− QTest::newRow("1 stored") << (QStringList() << "abs-icon");
427− }
428−
429422 void testSettings() {
430423 GSettings *settings = launcherModel->m_settings;
431424
@@ -453,10 +446,11 @@ private Q_SLOTS:
453446 // Check if it disappeared from the frontend too
454447 QCOMPARE(launcherModel->rowCount(), 1);
455448
456− // Add them back:
457− settings->setStoredApplications(QStringList() << "abs-icon" << "no-icon");
449+ // Add them back but in reverse order
450+ settings->setStoredApplications(QStringList() << "no-icon" << "abs-icon");
458451 QCOMPARE(launcherModel->rowCount(), 2);
459−
452+ QCOMPARE(launcherModel->get(0)->appId(), QString("no-icon"));
453+ QCOMPARE(launcherModel->get(1)->appId(), QString("abs-icon"));
460454 }
461455};
462456