diff options
| author | Seth Riley <17361645+Qudix@users.noreply.github.com> | 2020-11-02 19:13:04 -0600 |
|---|---|---|
| committer | Seth Riley <17361645+Qudix@users.noreply.github.com> | 2020-11-02 19:13:04 -0600 |
| commit | 5bad8f903205fb0e21c60fafd0d6913d3143a477 (patch) | |
| tree | 825531182992d94bec681653a27a9c428ed45229 /src/main.cpp | |
| parent | f7d7661d58d9b0d158fd959978b29c9c1a3a8de7 (diff) | |
Fixed tutorials
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index 60b06817..a3e30fa0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -693,10 +693,8 @@ int runApplication(MOApplication &application, SingleInstance &instance, } log::debug("initializing tutorials"); - TutorialManager::init( - qApp->applicationDirPath() + "/" - + QString::fromStdWString(AppConfig::tutorialsPath()) + "/", - &organizer); + QString tutorialsPath = QCoreApplication::applicationDirPath() + "/dlls/tutorials/"; + TutorialManager::init(tutorialsPath, &organizer); if (!application.setStyleFile(settings.interface().styleName().value_or(""))) { // disable invalid stylesheet |
