diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-10-09 19:26:05 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-30 10:36:51 -0700 |
commit | e62d439bda65801ae6f3d2e73bec1a706a46ca90 (patch) | |
tree | 90d9f895638df66dc528d8980ec97cb88f5fda15 /subsurface-desktop-helper.cpp | |
parent | 66d3e99ff2bea172d991ad59db19586ce7bcbed6 (diff) | |
download | subsurface-e62d439bda65801ae6f3d2e73bec1a706a46ca90.tar.gz |
Start the Plugin Manager
This bit of code will try to load all plugins avaliable.
Now I need to port a Facebook plugin for this new system,
then I'll delete the old preferences widget.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-desktop-helper.cpp')
-rw-r--r-- | subsurface-desktop-helper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-desktop-helper.cpp b/subsurface-desktop-helper.cpp index af366fb84..420f75249 100644 --- a/subsurface-desktop-helper.cpp +++ b/subsurface-desktop-helper.cpp @@ -4,6 +4,7 @@ #include "display.h" #include "desktop-widgets/mainwindow.h" #include "helpers.h" +#include "pluginmanager.h" #include <QApplication> #include <QDesktopWidget> @@ -30,6 +31,8 @@ void init_ui() { init_qt_late(); + PluginManager::instance().loadPlugins(); + window = new MainWindow(); if (existing_filename && existing_filename[0] != '\0') window->setTitle(MWTF_FILENAME); |