From a0a1e4afd41ccacf3534dd1e537af42a43ce65d1 Mon Sep 17 00:00:00 2001 From: Gres Date: Thu, 5 Nov 2015 19:54:20 +0300 Subject: [PATCH] Fix wrong window size on some linux systems. --- ResultDialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ResultDialog.cpp b/ResultDialog.cpp index 3917799..3ed3420 100644 --- a/ResultDialog.cpp +++ b/ResultDialog.cpp @@ -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);