aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/MainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-09-15 09:42:39 -0400
committerKen Moore <ken@pcbsd.org>2014-09-15 09:42:39 -0400
commitb5850d3e0e4c31476eb6d6ef02870e7a775650ef (patch)
tree7455ca15c4d777d91584d5e32d6738636268048a /lumina-fm/MainUI.h
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-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.h5
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
bgstack15