From 8129bea82b99260f30a22b6d4688ec6776547cc2 Mon Sep 17 00:00:00 2001 From: Rafael Date: Mon, 11 Apr 2016 20:10:23 +0200 Subject: [PATCH] PictureDialog size fix --- SnapmaticWidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SnapmaticWidget.cpp b/SnapmaticWidget.cpp index 8322c59..0adee1d 100755 --- a/SnapmaticWidget.cpp +++ b/SnapmaticWidget.cpp @@ -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; }