From 925bade3157900303a45fff3b64e64ed9ee5b0d8 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Fri, 17 Apr 2026 03:17:59 -0500 Subject: Disabling tutorials (#2366) --- CMakeLists.txt | 3 +++ src/mainwindow.cpp | 12 ++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 85ba23f0..24603599 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 3.16) # TODO: clean include directives set(MO2_CMAKE_DEPRECATED_UIBASE_INCLUDE ON) +# Remove tutorials until Qt is fixed +set(MO2_SKIP_TUTORIALS_INSTALL ON) + project(organizer) # if MO2_INSTALL_IS_BIN is set, this means that we should install directly into the diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 5d5a88ce..a651c2d7 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -477,8 +477,8 @@ MainWindow::MainWindow(Settings& settings, OrganizerCore& organizerCore, m_StartTime = QTime::currentTime(); - m_Tutorial.expose("modList", m_OrganizerCore.modList()); - m_Tutorial.expose("espList", m_OrganizerCore.pluginList()); + // m_Tutorial.expose("modList", m_OrganizerCore.modList()); + // m_Tutorial.expose("espList", m_OrganizerCore.pluginList()); m_OrganizerCore.setUserInterface(this); m_OrganizerCore.onFinishedRun([=](const QString, unsigned int) { @@ -1112,6 +1112,7 @@ void MainWindow::createHelpMenu() connect(issueAction, SIGNAL(triggered()), this, SLOT(issueTriggered())); menu->addAction(issueAction); + /* Disable tutorials QMenu* tutorialMenu = new QMenu(tr("Tutorials"), menu); typedef std::vector> ActionList; @@ -1154,6 +1155,7 @@ void MainWindow::createHelpMenu() } menu->addMenu(tutorialMenu); + */ menu->addAction(tr("About"), this, SLOT(about())); menu->addAction(tr("About Qt"), qApp, SLOT(aboutQt())); } @@ -1245,11 +1247,13 @@ void MainWindow::showEvent(QShowEvent* event) connect(this, SIGNAL(styleChanged(QString)), this, SLOT(updateStyle(QString))); // only the first time the window becomes visible + /* Disabling tutorials m_Tutorial.registerControl(); hookUpWindowTutorials(); - + */ if (m_OrganizerCore.settings().firstStart()) { + /* Disabling tutorials QString firstStepsTutorial = ToQString(AppConfig::firstStepsTutorial()); if (TutorialManager::instance().hasTutorial(firstStepsTutorial)) { if (shouldStartTutorial()) { @@ -1265,7 +1269,7 @@ void MainWindow::showEvent(QShowEvent* event) QObject::tr("Please use \"Help\" from the toolbar to get " "usage instructions to all elements")); } - + */ if (!m_OrganizerCore.managedGame()->getSupportURL().isEmpty()) { QMessageBox::information(this, tr("Game Support Wiki"), tr("Do you know how to mod this game? Do you need to " -- cgit v1.3.1