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
@@ -32,7 +32,7 @@ int main(int argc, char **argv)
}
else if (getArgs().printVersion)
{
qInfo().noquote() << Version::getInstance().fullVersion();
qInfo().noquote() << Version::instance().fullVersion();
}
else
{
@@ -45,7 +45,7 @@ int main(int argc, char **argv)
catch (std::runtime_error &error)
{
QMessageBox box;
if (Modes::getInstance().isPortable)
if (Modes::instance().isPortable)
{
box.setText(
error.what() +