Commit fcc62a1e authored by Gavin Bisesi's avatar Gavin Bisesi
Browse files

Use defined(Q_OS_WIN) in #elif to satisfy MSVC

It's always windows.
parent bda01b20
......@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
if (translationPath.isEmpty()) {
#ifdef Q_OS_MAC
translationPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
#elif Q_OS_WIN
#elif defined(Q_OS_WIN)
translationPath = app.applicationDirPath() + "/translations";
#endif
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment