sharepath bytearray try
This commit is contained in:
parent
a12edb32bb
commit
88730a7edc
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ 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(GTA5SYNC_SHARE));
|
QByteArray sharePath = GTA5SYNC_SHARE;
|
||||||
|
outputStr.replace("$SHAREDIR", QString::fromUtf8(sharePath));
|
||||||
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