Added hack for fixing fullscreen context menus with QOpenGLWidget in YACReaderLibrary (Windows). Tested and working in Qt5.7.

This commit is contained in:
Luis Ángel San Martín
2016-08-22 13:21:13 +02:00
parent dd64e013be
commit aa50f6cdda
2 changed files with 50 additions and 0 deletions

View File

@ -375,6 +375,12 @@ public slots:
void onAddComicsToLabel();
void setToolbarTitle(const QModelIndex & modelIndex);
void saveSelectedCoversTo();
private:
//fullscreen mode in Windows for preventing this bug: QTBUG-41309 https://bugreports.qt.io/browse/QTBUG-41309
Qt::WindowFlags previousWindowFlags;
QPoint previousPos;
QSize previousSize;
};
#endif