Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
KSudoku
Commits
05726b71
Commit
05726b71
authored
Aug 24, 2008
by
Brad Hards
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt 4.5 build fixes.
svn path=/trunk/KDE/kdegames/ksudoku/; revision=851695
parent
a4cd9500
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/gui/views/gameactions.cpp
src/gui/views/gameactions.cpp
+2
-2
No files found.
src/gui/views/gameactions.cpp
View file @
05726b71
...
...
@@ -67,9 +67,9 @@ void GameActions::init() {
m_collection
->
addAction
(
QString
(
"val-mark%1"
).
arg
(
i
+
1
,
2
,
10
,
QChar
(
'0'
)),
a
);
a
->
setText
(
i18n
(
"Mark %1 (%2)"
,
QChar
(
'a'
+
i
),
i
+
1
));
shortcut
=
a
->
shortcut
();
shortcut
.
setPrimary
(
Qt
::
ShiftModifier
|
Qt
::
Key_A
+
i
);
shortcut
.
setPrimary
(
QKeySequence
(
Qt
::
ShiftModifier
,
Qt
::
Key_A
+
i
)
)
;
if
(
i
<
9
)
{
shortcut
.
setAlternate
(
Qt
::
ShiftModifier
|
Qt
::
Key_1
+
i
);
shortcut
.
setAlternate
(
QKeySequence
(
Qt
::
ShiftModifier
,
Qt
::
Key_1
+
i
)
)
;
}
a
->
setShortcut
(
shortcut
);
m_markValueMapper
->
setMapping
(
a
,
i
+
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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