From 95a0518085930c68b38eae67bf7a2608613dd6f8 Mon Sep 17 00:00:00 2001 From: SpomJ <75751809+SpomJ@users.noreply.github.com> Date: Sat, 23 Nov 2024 18:07:07 +0300 Subject: [PATCH] Remove obsolete workaround for Qt4 (#7590) --- src/core/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/main.cpp b/src/core/main.cpp index 3e6c2c85f06..f8eb0689fc3 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -367,10 +367,6 @@ int main( int argc, char * * argv ) printf( "LMMS cannot be run as root.\nUse \"--allowroot\" to override.\n\n" ); return EXIT_FAILURE; } -#endif -#ifdef LMMS_BUILD_LINUX - // don't let OS steal the menu bar. FIXME: only effective on Qt4 - QCoreApplication::setAttribute( Qt::AA_DontUseNativeMenuBar ); #endif QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QCoreApplication * app = coreOnly ?