kmix: adjust to Katie changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-06-03 01:03:51 +03:00
parent dee192e49a
commit 507456f0ad

View file

@ -260,19 +260,14 @@ KMixWindow::initActionsLate()
{ {
KAction* globalAction = actionCollection()->addAction("increase_volume"); KAction* globalAction = actionCollection()->addAction("increase_volume");
globalAction->setText(i18n("Increase Volume")); globalAction->setText(i18n("Increase Volume"));
globalAction->setGlobalShortcut(KShortcut(Qt::Key_VolumeUp)); connect(globalAction, SIGNAL(triggered(bool)), SLOT(slotIncreaseVolume()));
connect(globalAction, SIGNAL(triggered(bool)),
SLOT(slotIncreaseVolume()));
globalAction = actionCollection()->addAction("decrease_volume"); globalAction = actionCollection()->addAction("decrease_volume");
globalAction->setText(i18n("Decrease Volume")); globalAction->setText(i18n("Decrease Volume"));
globalAction->setGlobalShortcut(KShortcut(Qt::Key_VolumeDown)); connect(globalAction, SIGNAL(triggered(bool)), SLOT(slotDecreaseVolume()));
connect(globalAction, SIGNAL(triggered(bool)),
SLOT(slotDecreaseVolume()));
globalAction = actionCollection()->addAction("mute"); globalAction = actionCollection()->addAction("mute");
globalAction->setText(i18n("Mute")); globalAction->setText(i18n("Mute"));
globalAction->setGlobalShortcut(KShortcut(Qt::Key_VolumeMute));
connect(globalAction, SIGNAL(triggered(bool)), SLOT(slotMute())); connect(globalAction, SIGNAL(triggered(bool)), SLOT(slotMute()));
} }
} }