PictureDialog size fix

This commit is contained in:
Rafael 2016-04-11 20:10:23 +02:00
parent 321398f674
commit 8129bea82b

View file

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