summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
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);
}
}