utf8 windows test

This commit is contained in:
doitux
2009-04-17 23:12:56 +00:00
parent c91c8fd507
commit 3a93336dfa
4 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ std::string QtHelper::getDataPathStdString(const char * /*argv0*/)
} else { path += "/data/"; }
#endif
#endif
return (QDir::cleanPath(path) + "/").toUtf8().constData();
return (QDir::cleanPath(path) + "/").toStdString();
}
// [01:09] <Zhenech> doitux|mob, mach den pfad als define, und nur wenns nich gesetzt is wildes raten
// [01:10] <Zhenech> dann compilieren die distries mit -DDATAPTH="/usr/share/games/pokerth" o.ä.