summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index a5e3bc54..79f7d59e 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -349,7 +349,7 @@ void Profile::renameModInList(QFile &modList, const QString &oldName, const QStr
modName = newName;
++renamed;
}
- outBuffer.write(modName.toUtf8().constData());
+ outBuffer.write(qUtf8Printable(modName));
outBuffer.write("\r\n");
}
modList.close();