adjust invisible size

This commit is contained in:
msn 2013-11-27 23:15:21 +04:00
parent 476893a7cf
commit bc7cd3abf3

View File

@ -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 ();
}