mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
[5.14.1] UI fixes
* restore settings, 1st toogle, then frameless, THEN restore geometry * closeEvent: toggleFloating, then close * setOffsetWhenFloating, also pass "frameless", if ever needed
This commit is contained in:
committed by
Mat Sutcliffe
parent
c3fb91e165
commit
1d5bbb6747
@@ -94,7 +94,7 @@ namespace BlackGui
|
||||
void setPreferredSizeWhenFloating(const QSize &size);
|
||||
|
||||
//! Position offset when floating first time
|
||||
void setOffsetWhenFloating(const QPoint &point) { m_offsetWhenFloating = point; }
|
||||
void setOffsetWhenFloating(const QPoint &point, bool frameless);
|
||||
|
||||
//! \copydoc CEnableForFramelessWindow::setFrameless
|
||||
virtual void setFrameless(bool frameless) override;
|
||||
@@ -109,7 +109,7 @@ namespace BlackGui
|
||||
void toggleFrameless();
|
||||
|
||||
//! Toggle frameless deferred
|
||||
void toggleFramelessDeferred(int delayMs = 1000);
|
||||
// void toggleFramelessDeferred(int delayMs = 1000);
|
||||
|
||||
//! Window always on top
|
||||
void windowAlwaysOnTop();
|
||||
|
||||
Reference in New Issue
Block a user