diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-31 23:24:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-31 23:24:57 +0300 |
commit | adeb8e6091694e228f081ca8843e101ae598f26c (patch) | |
tree | a8a9caf4cbaf6b5d9a99f9b5e4e56f9b3203aa38 /src/gui/didyouknowwindow.cpp | |
parent | 6d349121a70377723e53b92a8990e56ee3e4fd88 (diff) | |
download | mv-adeb8e6091694e228f081ca8843e101ae598f26c.tar.gz mv-adeb8e6091694e228f081ca8843e101ae598f26c.tar.bz2 mv-adeb8e6091694e228f081ca8843e101ae598f26c.tar.xz mv-adeb8e6091694e228f081ca8843e101ae598f26c.zip |
Add ability to lock any window position and size. Using sticky image for this.
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r-- | src/gui/didyouknowwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp index 4d89bd924..d62417fc4 100644 --- a/src/gui/didyouknowwindow.cpp +++ b/src/gui/didyouknowwindow.cpp @@ -51,6 +51,8 @@ DidYouKnowWindow::DidYouKnowWindow(): setContentSize(455, 350); setWindowName("DidYouKnow"); setResizable(true); + setStickyButtonLock(true); + setupWindow->registerWindowForReset(this); setDefaultSize(500, 400, ImageRect::CENTER); |