correct typing mistake for minimumSize

This commit is contained in:
Rafael 2016-11-20 10:09:08 +01:00
parent 677388c7d8
commit 3138a8e1ca

View file

@ -400,7 +400,7 @@ void PictureDialog::on_labPicture_mouseDoubleClicked(Qt::MouseButton button)
QObject::connect(pictureWidget, SIGNAL(nextPictureRequested()), this, SLOT(dialogNextPictureRequested())); QObject::connect(pictureWidget, SIGNAL(nextPictureRequested()), this, SLOT(dialogNextPictureRequested()));
QObject::connect(pictureWidget, SIGNAL(previousPictureRequested()), this, SLOT(dialogPreviousPictureRequested())); QObject::connect(pictureWidget, SIGNAL(previousPictureRequested()), this, SLOT(dialogPreviousPictureRequested()));
pictureWidget->setMaximumSize(desktopRect.width(), desktopRect.height()); pictureWidget->setMinimumSize(desktopRect.width(), desktopRect.height());
pictureWidget->setMaximumSize(desktopRect.width(), desktopRect.height()); pictureWidget->setMaximumSize(desktopRect.width(), desktopRect.height());
pictureWidget->showFullScreen(); pictureWidget->showFullScreen();
pictureWidget->setFocus(); pictureWidget->setFocus();