build: Fixed broken code view style due to app changing working directory while analysing from compilation database

This commit is contained in:
Eberhard Graether
2016-05-31 13:17:36 +02:00
parent d6e2c46420
commit dfcb9214f4
@@ -67,6 +67,8 @@ void setupPlatform(int argc, char *argv[])
void setupApp(int argc, char *argv[])
{
FilePath path(QDir::currentPath().toStdString());
AppPath::setAppPath(path.absolute().str() + "/");
}
#endif // INCLUDES_MAC_H