renamed getInstance() -> instance() for singletons

This commit is contained in:
fourtf
2019-10-07 22:42:34 +02:00
parent aeab038bc8
commit 6f710823ed
37 changed files with 77 additions and 77 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ void Application::initialize(Settings &settings, Paths &paths)
if (getSettings()->enableExperimentalIrc)
{
Irc::getInstance().load();
Irc::instance().load();
}
for (auto &singleton : this->singletons_)
@@ -130,7 +130,7 @@ int Application::run(QApplication &qtApp)
this->windows->getMainWindow().show();
getSettings()->betaUpdates.connect(
[] { Updates::getInstance().checkForUpdates(); }, false);
[] { Updates::instance().checkForUpdates(); }, false);
return qtApp.exec();
}