diff options
author | neoraider <devnull@localhost> | 2007-12-24 01:04:02 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-12-24 01:04:02 +0100 |
commit | 953a6ff48ac6c46a0d81bedb0fbdafe5d637666e (patch) | |
tree | 2e918dd669dd5c34f59a4aed3cb3a71b1c0d2a3a /SidebarToolbox.h | |
parent | 9b5296b04eef553dba951fa13936184b0f30cded (diff) | |
download | zoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.tar zoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.zip |
zoomedit: Use tools for event handling and rendering
Diffstat (limited to 'SidebarToolbox.h')
-rw-r--r-- | SidebarToolbox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SidebarToolbox.h b/SidebarToolbox.h index 8e8a1f2..961df24 100644 --- a/SidebarToolbox.h +++ b/SidebarToolbox.h @@ -47,8 +47,8 @@ class SidebarToolbox : Sidebar { return widget; } - Tool *getActiveTool() { - return activeTool; + Tool& getActiveTool() { + return *activeTool; } void addTool(Tool *tool); |