Moved debugger reset counter to menu instead of pushbutton on window.
This commit is contained in:
parent
77a4e610fb
commit
117bfd0223
|
@ -235,6 +235,15 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
|
||||||
|
|
||||||
debugMenu->addAction(act);
|
debugMenu->addAction(act);
|
||||||
|
|
||||||
|
// Debug -> Reset Counters
|
||||||
|
act = new QAction(tr("Reset &Counters"), this);
|
||||||
|
//act->setShortcut(QKeySequence( tr("F7") ) );
|
||||||
|
act->setStatusTip(tr("Reset Counters"));
|
||||||
|
act->setCheckable(false);
|
||||||
|
connect( act, SIGNAL(triggered(void)), this, SLOT(resetCountersCB(void)) );
|
||||||
|
|
||||||
|
debugMenu->addAction(act);
|
||||||
|
|
||||||
// Options
|
// Options
|
||||||
optMenu = menuBar->addMenu(tr("&Options"));
|
optMenu = menuBar->addMenu(tr("&Options"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue