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
829f84fe
Commit
829f84fe
authored
Feb 09, 2016
by
Ira Aspen
Browse files
Moved from using hex QT version checks to QT_VERSION_CHECK().
parent
0ef2b489
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_deck_editor.cpp
View file @
829f84fe
...
...
@@ -876,7 +876,7 @@ void TabDeckEditor::actOpenCustomsetsFolder() {
void
TabDeckEditor
::
actAddCustomSet
()
{
#if QT_VERSION <
0x050000
#if
(
QT_VERSION <
QT_VERSION_CHECK(5, 0, 0))
QString
dataDir
=
QDesktopServices
::
storageLocation
(
QDesktopServices
::
DataLocation
);
#else
QString
dataDir
=
QStandardPaths
::
standardLocations
(
QStandardPaths
::
DataLocation
).
first
();
...
...
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