diff options
author | Jonathan Bauer | 2011-03-18 11:56:42 +0100 |
---|---|---|
committer | Jonathan Bauer | 2011-03-18 11:56:42 +0100 |
commit | f6884b10d8fd6c97b63fd3b228cc311e441bfe94 (patch) | |
tree | 7d32ee3666d56feecdda0797f438308b710bc85c | |
parent | layout: using QSplitter to split webView/logView in the main window, seems be... (diff) | |
download | fbgui-f6884b10d8fd6c97b63fd3b228cc311e441bfe94.tar.gz fbgui-f6884b10d8fd6c97b63fd3b228cc311e441bfe94.tar.xz fbgui-f6884b10d8fd6c97b63fd3b228cc311e441bfe94.zip |
toggle action: now properly in action list of fbgui
-rw-r--r-- | src/fbgui.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp index ac095f1..fff5685 100644 --- a/src/fbgui.cpp +++ b/src/fbgui.cpp @@ -56,9 +56,9 @@ fbgui::fbgui() //------------------------------------------------------------------------------------------- void fbgui::createActions(){ /* CTRL + D: toggle debug window */ - _toggleDebug = new QAction(tr("&test"), this); + _toggleDebug = new QAction(tr("&toggleDebug"), this); _toggleDebug->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_D)); - _splitter->addAction(_toggleDebug); + this->addAction(_toggleDebug); connect(_toggleDebug, SIGNAL(triggered()), this, SLOT(toggleDebug())); } //------------------------------------------------------------------------------------------- @@ -67,7 +67,6 @@ void fbgui::toggleDebug(){ _logView->hide(); else _logView->show(); - } //------------------------------------------------------------------------------------------- void fbgui::checkHost() const |