summaryrefslogtreecommitdiff
path: root/src/ToolTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolTheme.hh')
-rw-r--r--src/ToolTheme.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ToolTheme.hh b/src/ToolTheme.hh
index 552e8f8..9c34114 100644
--- a/src/ToolTheme.hh
+++ b/src/ToolTheme.hh
@@ -47,8 +47,8 @@ public:
47 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } 47 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); }
48 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); } 48 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
49 49
50 virtual ToolTheme *operator ->() { return this; } 50 virtual ToolTheme &operator *() { return *this; }
51 virtual const ToolTheme *operator ->() const { return this; } 51 virtual const ToolTheme &operator *() const { return *this; }
52 52
53protected: 53protected:
54 FbTk::ThemeItem<FbTk::Texture> &textureTheme() { return m_texture; } 54 FbTk::ThemeItem<FbTk::Texture> &textureTheme() { return m_texture; }