test
This commit is contained in:
parent
6a2039aee1
commit
1abc1e9cff
|
@ -559,6 +559,13 @@ MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent)
|
|||
}
|
||||
}
|
||||
|
||||
if (parentWidget() != nullptr) // TEST
|
||||
{
|
||||
QMenu* menu = menubar->addMenu("Test");
|
||||
|
||||
menu->addAction("Test");
|
||||
}
|
||||
|
||||
actScreenFiltering = menu->addAction("Screen filtering");
|
||||
actScreenFiltering->setCheckable(true);
|
||||
connect(actScreenFiltering, &QAction::triggered, this, &MainWindow::onChangeScreenFiltering);
|
||||
|
|
Loading…
Reference in New Issue