mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Use defined(Q_OS_WIN) in #elif to satisfy MSVC
It's always windows.
This commit is contained in:
parent
bda01b2044
commit
fcc62a1e1f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue