summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 07f7010e..3da12d7d 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));
+ shellDelete(QStringList(fileName), false, QApplication::activeModalWidget());
}
if (!file.copy(fileName)) {
@@ -238,6 +238,7 @@ void Profile::createTweakedIniFile()
if (error) {
reportError(tr("failed to create tweaked ini: %1").arg(getCurrentErrorStringA().c_str()));
}
+ qDebug("%s saved", qPrintable(QDir::toNativeSeparators(tweakedIni)));
}