Verified Commit e0abacea authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Fix configtest

parent b07d918c
......@@ -40,6 +40,8 @@ private Q_SLOTS:
QCOMPARE(AngelfishSettings::defaultNavBarBackValue(), false);
QCOMPARE(AngelfishSettings::defaultNavBarForwardValue(), false);
QCOMPARE(AngelfishSettings::defaultNavBarReloadValue(), false);
delete SettingsHelper::instance();
SettingsHelper::s_instance = nullptr;
qputenv("QT_QUICK_CONTROLS_MOBILE", "false");
QCOMPARE(SettingsHelper::instance()->isMobile(), false);
QCOMPARE(AngelfishSettings::defaultNavBarBackValue(), true);
......
......@@ -26,10 +26,10 @@ public:
return m_isMobile;
}
static SettingsHelper *s_instance;
private:
SettingsHelper();
bool m_isMobile;
static SettingsHelper *s_instance;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment