From bc7cd3abf3d9ecd428484cc0ba7e1a66cb1034bf Mon Sep 17 00:00:00 2001 From: msn Date: Wed, 27 Nov 2013 23:15:21 +0400 Subject: [PATCH] adjust invisible size --- ResultDialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ResultDialog.cpp b/ResultDialog.cpp index 950e671..efa7602 100644 --- a/ResultDialog.cpp +++ b/ResultDialog.cpp @@ -41,6 +41,7 @@ void ResultDialog::showResult(ProcessingItem item) ui->recognizeLabel->setText (item.recognized); ui->translateLabel->setText (item.translated); + show (); adjustSize (); QDesktopWidget* desktop = QApplication::desktop (); @@ -64,6 +65,4 @@ void ResultDialog::showResult(ProcessingItem item) QPoint newPos (screenRect.width () - width (), screenRect.height () - height ()); move (newPos); } - - show (); }