summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ebe7da98..8c5110e0 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -371,8 +371,8 @@ MainWindow::MainWindow(Settings& settings, OrganizerCore& organizerCore,
if (organizerCore.managedGame()->sortMechanism() ==
MOBase::IPluginGame::SortMechanism::NONE) {
- ui->bossButton->setDisabled(true);
- ui->bossButton->setToolTip(tr("There is no supported sort mechanism for this game. "
+ ui->sortButton->setDisabled(true);
+ ui->sortButton->setToolTip(tr("There is no supported sort mechanism for this game. "
"You will probably have to use a third-party tool."));
}
@@ -2265,14 +2265,8 @@ void MainWindow::tutorialTriggered()
{
QAction* tutorialAction = qobject_cast<QAction*>(sender());
if (tutorialAction != nullptr) {
- if (QMessageBox::question(this, tr("Start Tutorial?"),
- tr("You're about to start a tutorial. For technical "
- "reasons it's not possible to end "
- "the tutorial early. Continue?"),
- QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) {
- TutorialManager::instance().activateTutorial("MainWindow",
- tutorialAction->data().toString());
- }
+ TutorialManager::instance().activateTutorial("MainWindow",
+ tutorialAction->data().toString());
}
}