Skip to content

Commit

Permalink
Update mainwindow.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ea4k committed May 21, 2021
1 parent de88fd7 commit 3d378e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4060,8 +4060,8 @@ void MainWindow::createMenusCommon()
//aboutAct->setMenuRole(QAction::AboutRole);
connect(aboutAct, SIGNAL(triggered()), this, SLOT(slotHelpAboutAction()));
//connect(aboutAct, SIGNAL(triggered()), this, SLOT(slotLoTWTest()) );
#if defined(Q_OS_MACOS)
#else
#if defined(Q_OS_MACOS) // It seems that on MAC if I try to show both, only the last one (or Qt) is shown
#else // I can define the setMenuRole but then no standard locations are used on macOS
aboutQtAct = new QAction(tr("About Qt ..."), this);
helpMenu->addAction(aboutQtAct);
//aboutQtAct->setMenuRole(QAction::AboutQtRole);
Expand Down

0 comments on commit 3d378e3

Please sign in to comment.