Use defined(Q_OS_WIN) in #elif to satisfy MSVC

It's always windows.
This commit is contained in:
Gavin Bisesi 2014-06-25 17:09:17 -04:00
parent bda01b2044
commit fcc62a1e1f

View file

@ -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
}