mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-31 07:02:22 -08:00
Use defined(Q_OS_WIN) in #elif to satisfy MSVC
It's always windows.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user