summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-06 09:27:15 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-06 09:27:15 -0500
commitad8e9d99b30578676c15d10a74f010439e132406 (patch)
treef3058d15be71493e10d1e18b565455d5cb7c84f9 /src/mainwindow.cpp
parentbe9c39a3b47a8f93388eaf624b6d007eac22b68e (diff)
renamed InstanceManager::instance() to singleton() to avoid confusion
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 02900571..ea8a0efe 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -837,7 +837,7 @@ void MainWindow::setupToolbar()
log::warn("no separator found on the toolbar, icons won't be right-aligned");
}
- if (!InstanceManager::instance().allowedToChangeInstance()) {
+ if (!InstanceManager::singleton().allowedToChangeInstance()) {
ui->actionChange_Game->setVisible(false);
}
}