Merge pull request #30 from ColinPitrat/master

Make menu bar display with Qt 5.2.
This commit is contained in:
cygnusxi 2018-01-14 14:50:33 -06:00 committed by GitHub
commit b87d516aea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,6 +308,9 @@ void curecoinGUI::createMenuBar()
#else #else
// Get the main window's menu bar on other platforms // Get the main window's menu bar on other platforms
appMenuBar = menuBar(); appMenuBar = menuBar();
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
appMenuBar->setNativeMenuBar(false);
#endif
#endif #endif
// Configure the menus // Configure the menus