diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-06 09:27:15 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-06 09:27:15 -0500 |
| commit | ad8e9d99b30578676c15d10a74f010439e132406 (patch) | |
| tree | f3058d15be71493e10d1e18b565455d5cb7c84f9 /src/mainwindow.cpp | |
| parent | be9c39a3b47a8f93388eaf624b6d007eac22b68e (diff) | |
renamed InstanceManager::instance() to singleton() to avoid confusion
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 2 |
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); } } |
