Fix wrong window size on some linux systems.

This commit is contained in:
Gres 2015-11-05 19:54:20 +03:00
parent 6ce69c9db1
commit a0a1e4afd4

View File

@ -103,6 +103,10 @@ void ResultDialog::showResult (ProcessingItem item) {
show ();
adjustSize ();
#ifdef Q_OS_LINUX
hide (); // buggy otherwise (on some systems)
show ();
#endif
QDesktopWidget *desktop = QApplication::desktop ();
Q_CHECK_PTR (desktop);