direct from str convert
This commit is contained in:
parent
815b11a253
commit
a12edb32bb
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ QString StringParser::convertLogStringForDraw(const QString &inputStr)
|
||||||
QString StringParser::convertBuildedString(const QString &buildedStr)
|
QString StringParser::convertBuildedString(const QString &buildedStr)
|
||||||
{
|
{
|
||||||
QString outputStr = buildedStr;
|
QString outputStr = buildedStr;
|
||||||
outputStr.replace("$SHAREDIR", QString::fromUtf8(GTA5SYNC_SHARE));
|
outputStr.replace("$SHAREDIR", QString(GTA5SYNC_SHARE));
|
||||||
outputStr.replace("$RUNDIR", QFileInfo(qApp->applicationFilePath()).absoluteDir().absolutePath());
|
outputStr.replace("$RUNDIR", QFileInfo(qApp->applicationFilePath()).absoluteDir().absolutePath());
|
||||||
outputStr.replace("$SEPARATOR", QDir::separator());
|
outputStr.replace("$SEPARATOR", QDir::separator());
|
||||||
return outputStr;
|
return outputStr;
|
||||||
|
|
Loading…
Reference in a new issue