Remove obsolete workaround for Qt4 (#7590)

This commit is contained in:
SpomJ
2024-11-23 18:07:07 +03:00
committed by GitHub
parent c21a7cd487
commit 95a0518085

View File

@@ -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 ?