@@ -33,10 +33,9 @@ inline QString sanitiseString(QString string) {
33 .remove(QLatin1Char('\\'));
33 .remove(QLatin1Char('\\'));
36−WindowStateStorage::WindowStateStorage(QObject *parent, bool testMode):
36+WindowStateStorage::WindowStateStorage(QObject *parent):
37 QObject(parent)
37 QObject(parent)
39− QStandardPaths::setTestModeEnabled(testMode);
40 const QString dbPath = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QStringLiteral("/unity8/");
39 const QString dbPath = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QStringLiteral("/unity8/");
41 m_db = QSqlDatabase::addDatabase(QStringLiteral("QSQLITE"));
40 m_db = QSqlDatabase::addDatabase(QStringLiteral("QSQLITE"));