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
075c743a
Commit
075c743a
authored
Jun 21, 2014
by
Fabio Bas
Browse files
Sets: case insensitive sorting
parent
53de2db8
Changes
1
Hide whitespace changes
Inline
Side-by-side
oracle/src/oracleimporter.h
View file @
075c743a
...
@@ -18,7 +18,7 @@ public:
...
@@ -18,7 +18,7 @@ public:
void
setImport
(
bool
_import
)
{
import
=
_import
;
}
void
setImport
(
bool
_import
)
{
import
=
_import
;
}
SetToDownload
(
const
QString
&
_shortName
,
const
QString
&
_longName
,
const
QVariant
&
_cards
,
bool
_import
)
SetToDownload
(
const
QString
&
_shortName
,
const
QString
&
_longName
,
const
QVariant
&
_cards
,
bool
_import
)
:
shortName
(
_shortName
),
longName
(
_longName
),
cards
(
_cards
),
import
(
_import
)
{
}
:
shortName
(
_shortName
),
longName
(
_longName
),
cards
(
_cards
),
import
(
_import
)
{
}
bool
operator
<
(
const
SetToDownload
&
set
)
const
{
return
longName
<
set
.
longName
;
}
bool
operator
<
(
const
SetToDownload
&
set
)
const
{
return
longName
.
compare
(
set
.
longName
,
Qt
::
CaseInsensitive
)
<
0
;
}
};
};
class
OracleImporter
:
public
CardDatabase
{
class
OracleImporter
:
public
CardDatabase
{
...
...
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