Fix wording in action 'Switch to Screen'

This erroneous "Window" instead of "Switch" apparently broke stuff.

The issue was pointed out on Reddit here: [https://www.reddit.com/r/kde/comments/y78qps/comment/istrj6t/](https://www.reddit.com/r/kde/comments/y78qps/comment/istrj6t/)
This commit is contained in:
Gabriel Karlsson 2022-10-19 05:33:11 +00:00 committed by Nate Graham
parent d7c091e449
commit 02145bddce

View file

@ -1104,7 +1104,7 @@ void Workspace::initShortcuts()
Qt::META | Qt::Key_D, &Workspace::slotToggleShowDesktop);
for (int i = 0; i < 8; ++i) {
initShortcut(QStringLiteral("Window to Screen %1").arg(i), i18n("Switch to Screen %1", i), 0, [this, i]() {
initShortcut(QStringLiteral("Switch to Screen %1").arg(i), i18n("Switch to Screen %1", i), 0, [this, i]() {
Output *output = outputs().value(i);
if (output) {
slotSwitchToScreen(output);