Toggle show dock actions
This commit is contained in:
@@ -100,6 +100,11 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent),
|
|||||||
if(!m_database->init())
|
if(!m_database->init())
|
||||||
QMessageBox::critical(this, tr("Can't open DB"), tr("Can't open SQLITE database"));
|
QMessageBox::critical(this, tr("Can't open DB"), tr("Can't open SQLITE database"));
|
||||||
|
|
||||||
|
QMenu *dockMenu = new QMenu(tr("Docks"), this);
|
||||||
|
dockMenu->addAction(infoDock->toggleViewAction());
|
||||||
|
dockMenu->addAction(captureDock->toggleViewAction());
|
||||||
|
menuBar()->addMenu(dockMenu);
|
||||||
|
|
||||||
setupSigterm();
|
setupSigterm();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user