diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2015-02-25 01:04:28 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2015-02-25 01:04:28 +0000 |
| commit | 73f83ba325e7d28693363d8d6e6b9482e4e12081 (patch) | |
| tree | cead8f00e537e51838d8469fc52b4ba8d04805f8 /src/desktop.cpp | |
| parent | create SPObject factory (diff) | |
| download | inkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.tar.gz inkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.zip | |
Strip ToolFactory
(bzr r13939.1.2)
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp index cdf8f276c..1152184c9 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -687,7 +687,7 @@ void SPDesktop::set_event_context2(const std::string& toolName) } } - Inkscape::UI::Tools::ToolBase* new_tool = ToolFactory::instance().createObject(toolName); + Inkscape::UI::Tools::ToolBase* new_tool = ToolFactory::createObject(toolName); new_tool->desktop = this; new_tool->message_context = new Inkscape::MessageContext(this->messageStack()); event_context = new_tool; |
