adjust invisible size
This commit is contained in:
parent
476893a7cf
commit
bc7cd3abf3
@ -41,6 +41,7 @@ void ResultDialog::showResult(ProcessingItem item)
|
|||||||
ui->recognizeLabel->setText (item.recognized);
|
ui->recognizeLabel->setText (item.recognized);
|
||||||
ui->translateLabel->setText (item.translated);
|
ui->translateLabel->setText (item.translated);
|
||||||
|
|
||||||
|
show ();
|
||||||
adjustSize ();
|
adjustSize ();
|
||||||
|
|
||||||
QDesktopWidget* desktop = QApplication::desktop ();
|
QDesktopWidget* desktop = QApplication::desktop ();
|
||||||
@ -64,6 +65,4 @@ void ResultDialog::showResult(ProcessingItem item)
|
|||||||
QPoint newPos (screenRect.width () - width (), screenRect.height () - height ());
|
QPoint newPos (screenRect.width () - width (), screenRect.height () - height ());
|
||||||
move (newPos);
|
move (newPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
show ();
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user