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
b1e5153e
Commit
b1e5153e
authored
Jan 02, 2015
by
Jeffrey Oliver
Browse files
Should be a const ptr.
parent
dbfbfcc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_filter_games.cpp
View file @
b1e5153e
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
#include
<QSettings>
#include
<QSettings>
#include
<QCryptographicHash>
#include
<QCryptographicHash>
DlgFilterGames
::
DlgFilterGames
(
const
QMap
<
int
,
QString
>
&
_allGameTypes
,
GamesProxyModel
*
_gamesProxyModel
,
QWidget
*
parent
)
DlgFilterGames
::
DlgFilterGames
(
const
QMap
<
int
,
QString
>
&
_allGameTypes
,
const
GamesProxyModel
*
_gamesProxyModel
,
QWidget
*
parent
)
:
QDialog
(
parent
),
:
QDialog
(
parent
),
allGameTypes
(
_allGameTypes
),
allGameTypes
(
_allGameTypes
),
gamesProxyModel
(
_gamesProxyModel
)
gamesProxyModel
(
_gamesProxyModel
)
...
...
cockatrice/src/dlg_filter_games.h
View file @
b1e5153e
...
@@ -23,7 +23,7 @@ private:
...
@@ -23,7 +23,7 @@ private:
const
QMap
<
int
,
QString
>
&
allGameTypes
;
const
QMap
<
int
,
QString
>
&
allGameTypes
;
// This needs a const someplace
// This needs a const someplace
GamesProxyModel
*
gamesProxyModel
;
const
GamesProxyModel
*
gamesProxyModel
;
/*
/*
* The game type might contain special characters, so to use it in
* The game type might contain special characters, so to use it in
...
@@ -33,7 +33,7 @@ private:
...
@@ -33,7 +33,7 @@ private:
private
slots
:
private
slots
:
void
actOk
();
void
actOk
();
public:
public:
DlgFilterGames
(
const
QMap
<
int
,
QString
>
&
_allGameTypes
,
GamesProxyModel
*
_gamesProxyModel
,
QWidget
*
parent
=
0
);
DlgFilterGames
(
const
QMap
<
int
,
QString
>
&
_allGameTypes
,
const
GamesProxyModel
*
_gamesProxyModel
,
QWidget
*
parent
=
0
);
bool
getUnavailableGamesVisible
()
const
;
bool
getUnavailableGamesVisible
()
const
;
void
setUnavailableGamesVisible
(
bool
_unavailableGamesVisible
);
void
setUnavailableGamesVisible
(
bool
_unavailableGamesVisible
);
...
...
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