summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-03 04:39:34 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-03 04:39:34 -0600
commit3839de53f0057658b8fab236cec03fdb2fff1d8c (patch)
treec836b42cc8b0feaeb5351f2141a3d38fdc65009a
parent474fdca3947d37863a31771ca0e67ea34515d6d1 (diff)
Don't call ASCII function with unicode
-rw-r--r--src/profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index e3c1e5ac..9da1a698 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -286,7 +286,7 @@ void Profile::createTweakedIniFile()
}
if (error) {
- reportError(tr("failed to create tweaked ini: %1").arg(getCurrentErrorStringA().c_str()));
+ reportError(tr("failed to create tweaked ini: %1").arg(getCurrentErrorString().c_str()));
}
qDebug("%s saved", qPrintable(QDir::toNativeSeparators(tweakedIni)));
}