diff options
author | Ken Moore <ken@pcbsd.org> | 2014-09-15 09:42:39 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-09-15 09:42:39 -0400 |
commit | b5850d3e0e4c31476eb6d6ef02870e7a775650ef (patch) | |
tree | 7455ca15c4d777d91584d5e32d6738636268048a /lumina-fm/MainUI.h | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-b5850d3e0e4c31476eb6d6ef02870e7a775650ef.tar.gz lumina-b5850d3e0e4c31476eb6d6ef02870e7a775650ef.tar.bz2 lumina-b5850d3e0e4c31476eb6d6ef02870e7a775650ef.zip |
Have lumina-fm save/remember the last-used size and open itself with that size (if smaller than the screen size).
Diffstat (limited to 'lumina-fm/MainUI.h')
-rw-r--r-- | lumina-fm/MainUI.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h index 5679d4ed..886d3fa7 100644 --- a/lumina-fm/MainUI.h +++ b/lumina-fm/MainUI.h @@ -35,6 +35,8 @@ #include <QImageReader> #include <QScrollBar> #include <QFileDialog> +#include <QResizeEvent> +#include <QDesktopWidget> //Phonon widgets #include <Phonon/BackendCapabilities> @@ -193,6 +195,9 @@ private slots: void CopyItems(); void PasteItems(); +protected: + void resizeEvent(QResizeEvent*); + }; #endif
\ No newline at end of file |