window title for add widgets

This commit is contained in:
Sebastian Kügler 2013-03-21 01:06:43 +01:00
parent 1db566ee2b
commit d4d9b70721

View File

@ -24,6 +24,7 @@
#include <QDesktopWidget>
#include <QQuickView>
#include <KLocalizedString>
#include <Plasma/Package>
#include "panelview.h"
@ -269,6 +270,7 @@ void DesktopCorona::showWidgetExplorer()
{
if (!m_widgetExplorer) {
m_widgetExplorer = new QQuickView;
m_widgetExplorer->setTitle(i18n("Add Widgets"));
QString expqml = package().filePath("widgetexplorer");
qDebug() << "Script to load for WidgetExplorer: " << expqml;
m_widgetExplorer->setSource(QUrl::fromLocalFile(expqml));