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
6ba2e983
Commit
6ba2e983
authored
Dec 09, 2009
by
Max-Wilhelm Bruker
Browse files
game view should not get keyboard focus
parent
86cd3ec5
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/gameview.cpp
View file @
6ba2e983
...
...
@@ -7,6 +7,7 @@ GameView::GameView(QGraphicsScene *scene, QWidget *parent)
setRenderHints
(
QPainter
::
TextAntialiasing
|
QPainter
::
Antialiasing
/* | QPainter::SmoothPixmapTransform*/
);
setDragMode
(
RubberBandDrag
);
setViewportUpdateMode
(
BoundingRectViewportUpdate
);
setFocusPolicy
(
Qt
::
NoFocus
);
connect
(
scene
,
SIGNAL
(
sceneRectChanged
(
const
QRectF
&
)),
this
,
SLOT
(
updateSceneRect
(
const
QRectF
&
)));
}
...
...
cockatrice/src/tab_game.cpp
View file @
6ba2e983
...
...
@@ -129,7 +129,7 @@ void TabGame::retranslateUi()
loadLocalButton
->
setText
(
tr
(
"Load &local deck"
));
loadRemoteButton
->
setText
(
tr
(
"Load d&eck from server"
));
readyStartButton
->
setText
(
tr
(
"
&
Start game"
));
readyStartButton
->
setText
(
tr
(
"S
&
tart game"
));
sayLabel
->
setText
(
tr
(
"&Say:"
));
cardInfo
->
retranslateUi
();
zoneLayout
->
retranslateUi
();
...
...
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