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
6dbdaafb
Commit
6dbdaafb
authored
Jun 24, 2014
by
Fabio Bas
Browse files
Ported cockatrice
parent
bab340f7
Changes
22
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tablezone.cpp
View file @
6dbdaafb
...
...
@@ -28,7 +28,11 @@ TableZone::TableZone(Player *_p, QGraphicsItem *parent)
currentMinimumWidth
=
minWidth
;
setCacheMode
(
DeviceCoordinateCache
);
#if QT_VERSION < 0x050000
setAcceptsHoverEvents
(
true
);
#else
setAcceptHoverEvents
(
true
);
#endif
}
void
TableZone
::
updateBgPixmap
()
...
...
cockatrice/src/userlist.cpp
View file @
6dbdaafb
...
...
@@ -216,7 +216,11 @@ UserList::UserList(TabSupervisor *_tabSupervisor, AbstractClient *_client, UserL
userTree
=
new
QTreeWidget
;
userTree
->
setColumnCount
(
3
);
#if QT_VERSION < 0x050000
userTree
->
header
()
->
setResizeMode
(
QHeaderView
::
ResizeToContents
);
#else
userTree
->
header
()
->
setSectionResizeMode
(
QHeaderView
::
ResizeToContents
);
#endif
userTree
->
setHeaderHidden
(
true
);
userTree
->
setRootIsDecorated
(
false
);
userTree
->
setIconSize
(
QSize
(
20
,
12
));
...
...
Prev
1
2
Next
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