This commit is contained in:
Arisotura 2024-02-20 13:31:44 +01:00
parent 6a2039aee1
commit 1abc1e9cff
1 changed files with 7 additions and 0 deletions

View File

@ -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);