PictureDialog size fix
This commit is contained in:
parent
321398f674
commit
8129bea82b
1 changed files with 3 additions and 2 deletions
|
@ -81,9 +81,10 @@ void SnapmaticWidget::on_cmdView_clicked()
|
|||
QObject::connect(threadDB, SIGNAL(playerNameUpdated()), picDialog, SLOT(playerNameUpdated()));
|
||||
|
||||
// show picture dialog
|
||||
picDialog->show();
|
||||
picDialog->showNormal();
|
||||
picDialog->setMinimumSize(picDialog->size());
|
||||
picDialog->setMaximumSize(picDialog->size());
|
||||
picDialog->exec();
|
||||
picDialog->deleteLater();
|
||||
delete picDialog;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue