Make sure setting to frameless/normal window keeps position and window size

This commit is contained in:
Klaus Basan
2019-07-09 20:29:33 +02:00
committed by Mat Sutcliffe
parent 3c200034dc
commit 26ddf3a353
2 changed files with 30 additions and 0 deletions

View File

@@ -95,6 +95,8 @@ namespace BlackGui
QWidget *m_widget = nullptr; //!< corresponding window or dock widget
QSizeGrip *m_framelessSizeGrip = nullptr; //!< size grip object
QByteArray m_framelessPropertyName; //!< property name for frameless widgets
int m_windowFrameSizeW = -1; //!< window frame width
int m_windowFrameSizeH = -1; //!< window frame height
//! Can be used as notification if window mode changes
virtual void windowFlagsChanged();