Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
fcc62a1e
Commit
fcc62a1e
authored
Jun 25, 2014
by
Gavin Bisesi
Browse files
Use defined(Q_OS_WIN) in #elif to satisfy MSVC
It's always windows.
parent
bda01b20
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/main.cpp
View file @
fcc62a1e
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment