diff options
| author | Tannin <devnull@localhost> | 2013-10-06 13:34:34 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-06 13:34:34 +0200 |
| commit | 823dfd410b90407cf6a641226bc46291f23d0004 (patch) | |
| tree | 430e9814c213899eaa937b2ca5d522d2874a1fde /src/profile.cpp | |
| parent | ba09054e6b22a134de03903ad91a206b9bbbb5d4 (diff) | |
- option to ignore/unignore updates is now only shown if there IS an update
- window now shouldn't lose focus on win 8 2 seconds after mod information gets invalidated
- small bugfix related to new version scheme parsing
Diffstat (limited to 'src/profile.cpp')
| -rw-r--r-- | src/profile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profile.cpp b/src/profile.cpp index 3da12d7d..e075a4e6 100644 --- a/src/profile.cpp +++ b/src/profile.cpp @@ -185,7 +185,7 @@ void Profile::writeModlistNow(bool onlyOnTimer) const QString fileName = getModlistFileName(); if (QFile::exists(fileName)) { - shellDelete(QStringList(fileName), false, QApplication::activeModalWidget()); + shellDeleteQuiet(fileName); } if (!file.copy(fileName)) { @@ -205,7 +205,7 @@ void Profile::createTweakedIniFile() { QString tweakedIni = m_Directory.absoluteFilePath("initweaks.ini"); - if (QFile::exists(tweakedIni) && !shellDelete(QStringList(tweakedIni))) { + if (QFile::exists(tweakedIni) && !shellDeleteQuiet(tweakedIni)) { reportError(tr("failed to update tweaked ini file, wrong settings may be used: %1").arg(windowsErrorString(::GetLastError()))); return; } |
