mirror of https://github.com/JakubMelka/PDF4QT.git
Flatpak test
This commit is contained in:
parent
6f3c2faba2
commit
0aec1a7358
|
@ -25,6 +25,11 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
||||||
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
||||||
|
|
||||||
|
#if !defined(Q_OS_WIN)
|
||||||
|
QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
QApplication application(argc, argv);
|
QApplication application(argc, argv);
|
||||||
|
|
||||||
QCoreApplication::setOrganizationName("MelkaJ");
|
QCoreApplication::setOrganizationName("MelkaJ");
|
||||||
|
|
|
@ -25,6 +25,11 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
||||||
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
||||||
|
|
||||||
|
#if !defined(Q_OS_WIN)
|
||||||
|
QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
QApplication application(argc, argv);
|
QApplication application(argc, argv);
|
||||||
|
|
||||||
QCoreApplication::setOrganizationName("MelkaJ");
|
QCoreApplication::setOrganizationName("MelkaJ");
|
||||||
|
|
|
@ -25,6 +25,11 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
||||||
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
||||||
|
|
||||||
|
#if !defined(Q_OS_WIN)
|
||||||
|
QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
QApplication application(argc, argv);
|
QApplication application(argc, argv);
|
||||||
|
|
||||||
QCoreApplication::setOrganizationName("MelkaJ");
|
QCoreApplication::setOrganizationName("MelkaJ");
|
||||||
|
|
|
@ -30,6 +30,11 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
QApplication::setAttribute(Qt::AA_CompressHighFrequencyEvents, true);
|
||||||
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity, true);
|
||||||
|
|
||||||
|
#if !defined(Q_OS_WIN)
|
||||||
|
QApplication::setAttribute(Qt::AA_DontUseNativeDialogs, true);
|
||||||
|
#endif
|
||||||
|
|
||||||
QApplication application(argc, argv);
|
QApplication application(argc, argv);
|
||||||
|
|
||||||
QCoreApplication::setOrganizationName("MelkaJ");
|
QCoreApplication::setOrganizationName("MelkaJ");
|
||||||
|
|
Loading…
Reference in New Issue