summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-04-03 13:47:13 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-04-03 13:47:13 (GMT)
commitbc63b50061d5c291b76d68f7163d832fbc09dbdb (patch)
tree1b832b746ad4c96ac8cba205f96c27b1609b4606
parent006dd0518bf59a89cb56a25777c287d523c362b1 (diff)
Load plugins.
-rw-r--r--compoundviewer/kalziumglwidget.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/compoundviewer/kalziumglwidget.cpp b/compoundviewer/kalziumglwidget.cpp
index 5348896..03f5bd3 100644
--- a/compoundviewer/kalziumglwidget.cpp
+++ b/compoundviewer/kalziumglwidget.cpp
@@ -20,7 +20,6 @@
#include <avogadro/qtplugins/pluginmanager.h>
#include <avogadro/qtgui/molecule.h>
// #include <avogadro/toolgroup.h>//FIXME:Avogadro2 port away from toolgroup
-// #include <avogadro/engine.h>//FIXME:Avogadro2 port away from engine.h
#include <QWidget>
#include "openbabel2wrapper.h"
#include <avogadro/qtopengl/glwidget.h>
@@ -49,7 +48,7 @@ KalziumGLWidget::KalziumGLWidget(QWidget *parent)
s_pluginDirSet = true;
}
Avogadro::QtPlugins::PluginManager *manager = Avogadro::QtPlugins::PluginManager::instance();
-// manager->loadFactories();//FIXME:Avogadro2
+ manager->load();
// Avogadro::ToolGroup* tools = new Avogadro::ToolGroup(this);//FIXME:Avogadro2 port away from ToolGroup
// tools->append(manager->tools(this));
// tools->setActiveTool("Navigate");