aboutsummaryrefslogtreecommitdiff
path: root/src/ToolFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolFactory.cc')
-rw-r--r--src/ToolFactory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc
index 2645956..d94105d 100644
--- a/src/ToolFactory.cc
+++ b/src/ToolFactory.cc
@@ -92,7 +92,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow &
92 item = new ClockTool(parent, m_clock_theme, screen(), tbar.menu()); 92 item = new ClockTool(parent, m_clock_theme, screen(), tbar.menu());
93 } else { 93 } else {
94 FbTk::RefCount<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(name)); 94 FbTk::RefCount<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(name));
95 if (*cmd == 0) // we need a command 95 if (cmd == 0) // we need a command
96 return 0; 96 return 0;
97 97
98 // TODO maybe direction of arrows should depend on toolbar layout ? 98 // TODO maybe direction of arrows should depend on toolbar layout ?