diff options
| author | Tannin <devnull@localhost> | 2013-10-10 19:32:01 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-10 19:32:01 +0200 |
| commit | 54c7131a5e2fa282369e25344ac190d51676c383 (patch) | |
| tree | cf03c6b8ba02afc17fece75d5e83a20cac4a8fbc /src/main.cpp | |
| parent | 15e256ef4460ecfdf05b4f17b4fe8f889f4c6b11 (diff) | |
- new toggle to display hidden downloads
- hidden downloads can be un-hidden
- the installation manager now more thoroughly cleans up the temporary directory after installation
- added SkyrimLauncher.exe to the list of auto-detected executables
- bugfix: shutting down MO while downloads where active in some occasions didn't work
- bugfix: when canceling the only active download the taskbar icon didn't return to normal
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c4431ac4..7c2a9b0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -433,7 +433,10 @@ int main(int argc, char *argv[]) qDebug("initializing tutorials"); TutorialManager::init(QDir::fromNativeSeparators(ToQString(GameInfo::instance().getTutorialDir())).append("/")); - application.setStyleFile(settings.value("Settings/style", "").toString()); + if (!application.setStyleFile(settings.value("Settings/style", "").toString())) { + // disable invalid stylesheet + settings.setValue("Settings/style", ""); + } int res = 1; { // scope to control lifetime of mainwindow |
