Qt::MaximizeUsingFullscreenGeometryHint since Qt 5.*?

This commit is contained in:
Rafael 2016-11-28 09:31:15 +01:00
parent d7267619c0
commit 701a91a4a7

View file

@ -389,7 +389,7 @@ void PictureDialog::on_labPicture_mouseDoubleClicked(Qt::MouseButton button)
QRect desktopRect = QApplication::desktop()->screenGeometry(this);
PictureWidget *pictureWidget = new PictureWidget(this);
pictureWidget->setObjectName("PictureWidget");
#if QT_VERSION >= 0x050000
#if QT_VERSION >= 0x050600
pictureWidget->setWindowFlags(pictureWidget->windowFlags()^Qt::FramelessWindowHint^Qt::MaximizeUsingFullscreenGeometryHint);
#else
pictureWidget->setWindowFlags(pictureWidget->windowFlags()^Qt::FramelessWindowHint);