PictureDialog resize issue fixed
This commit is contained in:
parent
462242b4f0
commit
2a559d7fa4
2 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,7 @@ void SnapmaticWidget::on_cmdView_clicked()
|
||||||
QObject::connect(picDialog, SIGNAL(previousPictureRequested()), this, SLOT(dialogPreviousPictureRequested()));
|
QObject::connect(picDialog, SIGNAL(previousPictureRequested()), this, SLOT(dialogPreviousPictureRequested()));
|
||||||
|
|
||||||
// show picture dialog
|
// show picture dialog
|
||||||
picDialog->showNormal();
|
picDialog->show();
|
||||||
picDialog->setMinimumSize(picDialog->size());
|
picDialog->setMinimumSize(picDialog->size());
|
||||||
picDialog->setMaximumSize(picDialog->size());
|
picDialog->setMaximumSize(picDialog->size());
|
||||||
picDialog->exec();
|
picDialog->exec();
|
||||||
|
|
2
main.cpp
2
main.cpp
|
@ -421,6 +421,8 @@ int main(int argc, char *argv[])
|
||||||
threadDB->start();
|
threadDB->start();
|
||||||
|
|
||||||
picDialog->show();
|
picDialog->show();
|
||||||
|
picDialog->setMinimumSize(picDialog->size());
|
||||||
|
picDialog->setMaximumSize(picDialog->size());
|
||||||
|
|
||||||
return a.exec();
|
return a.exec();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue