We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c25ecd8 commit f1208e3Copy full SHA for f1208e3
1 file changed
gui/main_gui.cpp
@@ -21,7 +21,13 @@ int main(int argc, char *argv[])
21
{
22
QApplication app(argc, argv);
23
QMainWindow *wndw = new QMainWindow;
24
+
25
+#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
26
+#if defined(__unix__) || defined(__linux__)
27
app.setAttribute(Qt::AA_DontUseNativeDialogs, true);
28
+#endif
29
30
31
mainwindow mw(wndw, &app);
32
33
mw.show();
0 commit comments