Remove some Q_UNUSED
It's weird to wrap a return value in Q_UNUSED macro.
This commit is contained in:
parent
57eb60122b
commit
d89feb33b2
1 changed files with 2 additions and 2 deletions
|
@ -791,8 +791,8 @@ void VirtualDesktopManager::initShortcuts()
|
|||
{
|
||||
initSwitchToShortcuts();
|
||||
|
||||
Q_UNUSED(addAction(QStringLiteral("Switch to Next Desktop"), i18n("Switch to Next Desktop"), &VirtualDesktopManager::slotNext))
|
||||
Q_UNUSED(addAction(QStringLiteral("Switch to Previous Desktop"), i18n("Switch to Previous Desktop"), &VirtualDesktopManager::slotPrevious))
|
||||
addAction(QStringLiteral("Switch to Next Desktop"), i18n("Switch to Next Desktop"), &VirtualDesktopManager::slotNext);
|
||||
addAction(QStringLiteral("Switch to Previous Desktop"), i18n("Switch to Previous Desktop"), &VirtualDesktopManager::slotPrevious);
|
||||
|
||||
// shortcuts
|
||||
QAction *slotRightAction = addAction(QStringLiteral("Switch One Desktop to the Right"), i18n("Switch One Desktop to the Right"), &VirtualDesktopManager::slotRight);
|
||||
|
|
Loading…
Reference in a new issue