Fix wrong window size on some linux systems.
This commit is contained in:
parent
6ce69c9db1
commit
a0a1e4afd4
@ -103,6 +103,10 @@ void ResultDialog::showResult (ProcessingItem item) {
|
|||||||
|
|
||||||
show ();
|
show ();
|
||||||
adjustSize ();
|
adjustSize ();
|
||||||
|
#ifdef Q_OS_LINUX
|
||||||
|
hide (); // buggy otherwise (on some systems)
|
||||||
|
show ();
|
||||||
|
#endif
|
||||||
|
|
||||||
QDesktopWidget *desktop = QApplication::desktop ();
|
QDesktopWidget *desktop = QApplication::desktop ();
|
||||||
Q_CHECK_PTR (desktop);
|
Q_CHECK_PTR (desktop);
|
||||||
|
Loading…
Reference in New Issue
Block a user