Mercurial > hg > svgui
diff widgets/WindowTypeSelector.h @ 908:4a578a360011 cxx11
More type fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 13:22:10 +0000 |
parents | 5ec6b60658d8 |
children | 05d614f6e46d |
line wrap: on
line diff
--- a/widgets/WindowTypeSelector.h Tue Mar 10 10:31:27 2015 +0000 +++ b/widgets/WindowTypeSelector.h Tue Mar 10 13:22:10 2015 +0000 @@ -28,8 +28,8 @@ Q_OBJECT public: - WindowTypeSelector(WindowType defaultType = WindowType(999), // 999 -> get from preferences - QWidget *parent = 0); + WindowTypeSelector(WindowType defaultType); + WindowTypeSelector(); // get window type from preferences virtual ~WindowTypeSelector(); WindowType getWindowType() const; @@ -48,6 +48,8 @@ WindowShapePreview *m_windowShape; WindowType *m_windows; WindowType m_windowType; + + void init(WindowType type); }; #endif