Implement PR suggestions

This commit is contained in:
txtsd 2022-02-15 00:42:14 +05:30
parent 1e3b896fda
commit 69d01204e0
No known key found for this signature in database
GPG key ID: 000F85679D4B6B53
5 changed files with 11 additions and 12 deletions

View file

@ -294,8 +294,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
}
else
{
// qDebug() << LAUNCHER_PORTABLE;
#if !LAUNCHER_PORTABLE || defined(Q_OS_MAC)
#if !Launcher_PORTABLE || defined(Q_OS_MAC)
QDir foo(FS::PathCombine(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation), ".."));
dataPath = foo.absolutePath();
adjustedBy += dataPath;