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
2d57715a
Commit
2d57715a
authored
Feb 05, 2010
by
Max-Wilhelm Bruker
Browse files
minor improvement
parent
70594387
Changes
2
Show whitespace changes
Inline
Side-by-side
cockatrice/src/tab_server.cpp
View file @
2d57715a
...
@@ -14,6 +14,7 @@ GameSelector::GameSelector(Client *_client, QWidget *parent)
...
@@ -14,6 +14,7 @@ GameSelector::GameSelector(Client *_client, QWidget *parent)
gameListProxyModel
=
new
GamesProxyModel
(
this
);
gameListProxyModel
=
new
GamesProxyModel
(
this
);
gameListProxyModel
->
setSourceModel
(
gameListModel
);
gameListProxyModel
->
setSourceModel
(
gameListModel
);
gameListView
->
setModel
(
gameListProxyModel
);
gameListView
->
setModel
(
gameListProxyModel
);
gameListView
->
header
()
->
setResizeMode
(
0
,
QHeaderView
::
ResizeToContents
);
showFullGamesCheckBox
=
new
QCheckBox
;
showFullGamesCheckBox
=
new
QCheckBox
;
createButton
=
new
QPushButton
;
createButton
=
new
QPushButton
;
...
...
cockatrice/src/tab_supervisor.cpp
View file @
2d57715a
...
@@ -12,6 +12,7 @@ TabSupervisor:: TabSupervisor(QWidget *parent)
...
@@ -12,6 +12,7 @@ TabSupervisor:: TabSupervisor(QWidget *parent)
:
QTabWidget
(
parent
),
client
(
0
),
tabServer
(
0
),
tabDeckStorage
(
0
)
:
QTabWidget
(
parent
),
client
(
0
),
tabServer
(
0
),
tabDeckStorage
(
0
)
{
{
tabChangedIcon
=
new
QIcon
(
":/resources/icon_tab_changed.svg"
);
tabChangedIcon
=
new
QIcon
(
":/resources/icon_tab_changed.svg"
);
setElideMode
(
Qt
::
ElideRight
);
setIconSize
(
QSize
(
15
,
15
));
setIconSize
(
QSize
(
15
,
15
));
connect
(
this
,
SIGNAL
(
currentChanged
(
int
)),
this
,
SLOT
(
updateCurrent
(
int
)));
connect
(
this
,
SIGNAL
(
currentChanged
(
int
)),
this
,
SLOT
(
updateCurrent
(
int
)));
}
}
...
...
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