summaryrefslogtreecommitdiffstats
path: root/SidebarToolbox.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-12-24 01:04:02 +0100
committerneoraider <devnull@localhost>2007-12-24 01:04:02 +0100
commit953a6ff48ac6c46a0d81bedb0fbdafe5d637666e (patch)
tree2e918dd669dd5c34f59a4aed3cb3a71b1c0d2a3a /SidebarToolbox.h
parent9b5296b04eef553dba951fa13936184b0f30cded (diff)
downloadzoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.tar
zoomedit-953a6ff48ac6c46a0d81bedb0fbdafe5d637666e.zip
zoomedit: Use tools for event handling and rendering
Diffstat (limited to 'SidebarToolbox.h')
-rw-r--r--SidebarToolbox.h4
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);