mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Fix linux menu issue
This commit is contained in:
parent
e994adb5a7
commit
c1f9b8f88d
1 changed files with 4 additions and 0 deletions
|
@ -134,6 +134,10 @@ LauncherWindow::LauncherWindow(QWidget* parent) :
|
|||
squareBoot = new SquareBoot(*this, *squareLauncher);
|
||||
|
||||
QMenu* fileMenu = menuBar()->addMenu("File");
|
||||
// sorry linux users, for some reason my global menu does not like qt6 apps right now
|
||||
#if defined(Q_OS_LINUX)
|
||||
menuBar()->setNativeMenuBar(false);
|
||||
#endif
|
||||
|
||||
QAction* settingsAction = fileMenu->addAction("Settings...");
|
||||
connect(settingsAction, &QAction::triggered, [=] {
|
||||
|
|
Loading…
Add table
Reference in a new issue