From 075c1315ec9d04bd468c75c273198cb3ea4c869d Mon Sep 17 00:00:00 2001 From: Riccardo Iaconelli Date: Tue, 31 Jul 2007 10:56:05 +0000 Subject: [PATCH] Const QStrings svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694679 --- applet.cpp | 2 +- applet.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applet.cpp b/applet.cpp index 66f4a3551..02fae784b 100644 --- a/applet.cpp +++ b/applet.cpp @@ -759,7 +759,7 @@ KPluginInfo::List Applet::knownApplets(const QString &category, return KPluginInfo::fromServices(offers); } -KPluginInfo::List Applet::knownAppletsForMimetype(QString mimetype) +KPluginInfo::List Applet::knownAppletsForMimetype(const QString &mimetype) { QString constraint = QString("'%1' in [X-Plasma-Mimetypes]").arg(mimetype); kDebug() << constraint << endl; diff --git a/applet.h b/applet.h index 2195c786c..08f897431 100644 --- a/applet.h +++ b/applet.h @@ -244,7 +244,7 @@ class PLASMA_EXPORT Applet : public QObject, public Widget * * @return list of applets **/ - static KPluginInfo::List knownAppletsForMimetype(QString mimetype); + static KPluginInfo::List knownAppletsForMimetype(const QString &mimetype); /** * Returns a list of all the categories used by