summaryrefslogtreecommitdiffstats
path: root/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp')
-rw-r--r--examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp b/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp
index 69a63575..12704bc7 100644
--- a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp
+++ b/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp
@@ -52,12 +52,12 @@ WelcomeDashboardPlugin::WelcomeDashboardPlugin(QObject *parent) :
{
}
-bool WelcomeDashboardPlugin::initialize(DuSE::ICore *core)
+bool WelcomeDashboardPlugin::initialize()
{
_welcomeQuickView->setSource(QUrl("qrc:/welcomedashboard/welcomedashboard.qml"));
_welcomeQuickView->setResizeMode(QQuickView::SizeRootObjectToView);
- core->uiController()->addCentralWidgetTab(QWidget::createWindowContainer(_welcomeQuickView), "Welcome", 0);
+ DuSE::ICore::self()->uiController()->addCentralWidgetTab(QWidget::createWindowContainer(_welcomeQuickView), "Welcome", 0);
return true;
}