mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Improve window state handling
It fixes multi-screen setups support and fullscreen in Windows
This commit is contained in:
@ -91,10 +91,6 @@ private:
|
||||
bool toolbars;
|
||||
bool fromMaximized;
|
||||
|
||||
// QTBUG-41883
|
||||
QSize _size;
|
||||
QPoint _pos;
|
||||
|
||||
QString currentDirectory;
|
||||
QString currentDirectoryImgDest;
|
||||
//! Widgets
|
||||
@ -193,11 +189,6 @@ private:
|
||||
quint64 libraryId;
|
||||
OpenComicSource source;
|
||||
|
||||
// fullscreen mode in Windows for preventing this bug: QTBUG-41309 https://bugreports.qt.io/browse/QTBUG-41309
|
||||
Qt::WindowFlags previousWindowFlags;
|
||||
QPoint previousPos;
|
||||
QSize previousSize;
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
void sendComic();
|
||||
|
||||
Reference in New Issue
Block a user