diff --git a/Pdf4QtDocDiff/main.cpp b/Pdf4QtDocDiff/main.cpp index 1726712..ed2f1fd 100644 --- a/Pdf4QtDocDiff/main.cpp +++ b/Pdf4QtDocDiff/main.cpp @@ -25,6 +25,11 @@ int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true); QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true); + +#if !defined(Q_OS_WIN) + QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true); +#endif + QApplication application(argc, argv); QCoreApplication::setOrganizationName("MelkaJ"); diff --git a/Pdf4QtDocPageOrganizer/main.cpp b/Pdf4QtDocPageOrganizer/main.cpp index 9992c16..e2db11f 100644 --- a/Pdf4QtDocPageOrganizer/main.cpp +++ b/Pdf4QtDocPageOrganizer/main.cpp @@ -25,6 +25,11 @@ int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true); QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true); + +#if !defined(Q_OS_WIN) + QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true); +#endif + QApplication application(argc, argv); QCoreApplication::setOrganizationName("MelkaJ"); diff --git a/Pdf4QtViewerLite/main.cpp b/Pdf4QtViewerLite/main.cpp index 6074ff6..f342292 100644 --- a/Pdf4QtViewerLite/main.cpp +++ b/Pdf4QtViewerLite/main.cpp @@ -25,6 +25,11 @@ int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true); QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true); + +#if !defined(Q_OS_WIN) + QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true); +#endif + QApplication application(argc, argv); QCoreApplication::setOrganizationName("MelkaJ"); diff --git a/Pdf4QtViewerProfi/main.cpp b/Pdf4QtViewerProfi/main.cpp index 30967a1..21561ff 100644 --- a/Pdf4QtViewerProfi/main.cpp +++ b/Pdf4QtViewerProfi/main.cpp @@ -30,6 +30,11 @@ int main(int argc, char *argv[]) QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true); QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true); + +#if !defined(Q_OS_WIN) + QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true); +#endif + QApplication application(argc, argv); QCoreApplication::setOrganizationName("MelkaJ");