Commit daa1aefc authored by Sergio Martins's avatar 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
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment