Small changes

Fix typo on API documentation
Remove pointless debug output
Remove unneeded loop
This commit is contained in:
Aleix Pol 2014-01-11 11:17:08 +01:00
parent a12184e857
commit 5c88e300bd
3 changed files with 2 additions and 5 deletions

View File

@ -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)

View File

@ -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()

View File

@ -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)