diff options
| author | Jeremy Rimpo <jrim@rimpo.org> | 2017-11-15 18:34:00 -0600 |
|---|---|---|
| committer | Jeremy Rimpo <jrim@rimpo.org> | 2017-11-15 18:34:00 -0600 |
| commit | af16521a2d8334172700ce604ae0ad93460febd2 (patch) | |
| tree | a7a168a31a8893d2d335a0f8201444e7f923bed9 /src/main.cpp | |
| parent | 581a8871c62a05d48a45059e6e611871be3f6361 (diff) | |
| parent | 7ec0b79eb49a27a3516d799a80d57000cde344da (diff) | |
Merge remote-tracking branch 'up/QT5.7' into mainline_dev
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index d14641a4..526563a2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -318,6 +318,9 @@ MOBase::IPluginGame *determineCurrentGame(QString const &moPath, QSettings &sett }
}
+ //The following code would try to determine the right game to mange but it would usually find the wrong one
+ //so it was commented out.
+ /*
//OK, we are in a new setup or existing info is useless.
//See if MO has been installed inside a game directory
for (IPluginGame * const game : plugins.plugins<IPluginGame>()) {
@@ -341,6 +344,7 @@ MOBase::IPluginGame *determineCurrentGame(QString const &moPath, QSettings &sett //OK, chop off the last directory and try again
} while (gameDir.cdUp());
}
+ */
//Then try a selection dialogue.
if (!gamePath.isEmpty() || !gameName.isEmpty()) {
|
