Skip to content

Commit

Permalink
Merge pull request #1399 from srcejon/fix_1312_win_title_bar
Browse files Browse the repository at this point in the history
Remove ? in Windows title bars
  • Loading branch information
f4exb authored Aug 31, 2022
2 parents 6320cd7 + 6803b07 commit 9cd7e9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); //HiDPI pixmaps
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); // Needed for WebGL in QWebEngineView and MainWindow::openGLVersion
#endif
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton);
#endif

QApplication a(argc, argv);

Expand Down

0 comments on commit 9cd7e9f

Please sign in to comment.