summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <[email protected]>2015-09-18 09:34:45 -0400
committerKurt Hindenburg <[email protected]>2015-09-18 09:34:45 -0400
commit4885ca763e4f3cb7e74776d275673ca107ac6589 (patch)
treeb7dab56705178d743b5553d67f21e48679dd675e
parent90dfa7240a0069e7a82475608a1b77eebe9cb7e4 (diff)
s/KAction/QAction - commented out code ATM
-rw-r--r--src/Application.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Application.cpp b/src/Application.cpp
index 796e4ef..e95ff67 100644
--- a/src/Application.cpp
+++ b/src/Application.cpp
@@ -448,14 +448,14 @@ void Application::startBackgroundMode(MainWindow* window)
return;
}
-/* This doesn't work ATM - leave in here so I dont' forget about it
+/* FIXME: This doesn't work ATM - leave in here so I dont' forget about it
KActionCollection* collection = window->actionCollection();
- KAction* action = collection->addAction("toggle-background-window");
+ QAction * action = collection->addAction("toggle-background-window");
action->setObjectName(QLatin1String("Konsole Background Mode"));
action->setText(i18n("Toggle Background Window"));
action->setGlobalShortcut(KShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_F12)));
- connect(action, &KAction::triggered, this, &Application::toggleBackgroundInstance);
+ connect(action, &QAction::triggered, this, &Application::toggleBackgroundInstance);
*/
_backgroundInstance = window;
}