From 5c88e300bdb90a0fb6b536f29e3336eabb91614d Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sat, 11 Jan 2014 11:17:08 +0100 Subject: [PATCH] Small changes Fix typo on API documentation Remove pointless debug output Remove unneeded loop --- src/declarativeimports/core/dialog.h | 2 +- src/plasmaquick/packageurlinterceptor.cpp | 4 +--- src/shell/widgetexplorer/widgetexplorer.cpp | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/declarativeimports/core/dialog.h b/src/declarativeimports/core/dialog.h index 35036d9be..83e71055d 100644 --- a/src/declarativeimports/core/dialog.h +++ b/src/declarativeimports/core/dialog.h @@ -63,7 +63,7 @@ class DialogProxy : public QQuickWindow Q_PROPERTY(QObject *margins READ margins CONSTANT) /** - * Plasma Location of the dialog window. Useful if this dialog is apopup for a panel + * Plasma Location of the dialog window. Useful if this dialog is a popup for a panel */ Q_PROPERTY(Plasma::Types::Location location READ location WRITE setLocation NOTIFY locationChanged) diff --git a/src/plasmaquick/packageurlinterceptor.cpp b/src/plasmaquick/packageurlinterceptor.cpp index 293a8f359..ee590ead1 100644 --- a/src/plasmaquick/packageurlinterceptor.cpp +++ b/src/plasmaquick/packageurlinterceptor.cpp @@ -30,9 +30,7 @@ PackageUrlInterceptor::PackageUrlInterceptor(QQmlEngine *engine, const Plasma::P m_package(p), m_engine(engine) { - foreach (const QString &import, m_engine->importPathList()) { - m_allowedPaths << import; - } + m_allowedPaths << m_engine->importPathList(); } PackageUrlInterceptor::~PackageUrlInterceptor() diff --git a/src/shell/widgetexplorer/widgetexplorer.cpp b/src/shell/widgetexplorer/widgetexplorer.cpp index 681899101..6cbb06b58 100644 --- a/src/shell/widgetexplorer/widgetexplorer.cpp +++ b/src/shell/widgetexplorer/widgetexplorer.cpp @@ -46,7 +46,6 @@ using namespace Plasma; WidgetAction::WidgetAction(QObject *parent) : QAction(parent) { - qDebug() << "There we go."; } WidgetAction::WidgetAction(const QIcon &icon, const QString &text, QObject *parent)