Skip to content

Commit

Permalink
Remove obsolete workaround for Qt4 (#7590)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpomJ authored Nov 23, 2024
1 parent c21a7cd commit 95a0518
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?
Expand Down

0 comments on commit 95a0518

Please sign in to comment.