Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Unmaintained
KDE Pim Libraries
Commits
daa1aefc
Commit
daa1aefc
authored
Apr 01, 2011
by
Sergio Martins
Browse files
Ctrl+U should mark only one e-mail as unread, not all.
BUG: 264433 (cherry picked from commit
f1c44b03
)
parent
078ad4b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
akonadi/kmime/standardmailactionmanager.cpp
View file @
daa1aefc
...
...
@@ -570,6 +570,7 @@ KAction* StandardMailActionManager::createAction( Type type )
action
->
setIcon
(
KIcon
(
QLatin1String
(
"mail-mark-unread"
)
)
);
d
->
mActions
.
insert
(
MarkMailAsUnread
,
action
);
d
->
mActionCollection
->
addAction
(
QString
::
fromLatin1
(
"akonadi_mark_as_unread"
),
action
);
action
->
setShortcut
(
Qt
::
CTRL
+
Qt
::
Key_U
);
action
->
setData
(
QByteArray
(
"U"
)
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)
),
this
,
SLOT
(
slotMarkAs
()
)
);
break
;
...
...
@@ -610,7 +611,6 @@ KAction* StandardMailActionManager::createAction( Type type )
action
->
setIcon
(
KIcon
(
QLatin1String
(
"mail-mark-unread"
)
)
);
d
->
mActions
.
insert
(
MarkAllMailAsUnread
,
action
);
d
->
mActionCollection
->
addAction
(
QString
::
fromLatin1
(
"akonadi_mark_all_as_unread"
),
action
);
action
->
setShortcut
(
Qt
::
CTRL
+
Qt
::
Key_U
);
action
->
setData
(
QByteArray
(
"U"
)
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)
),
this
,
SLOT
(
slotMarkAllAs
()
)
);
break
;
...
...
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