initializing QString to 0 is baaaaad

svn path=/trunk/KDE/kdelibs/; revision=1185604
This commit is contained in:
Albert Astals Cid 2010-10-13 21:15:27 +00:00
parent f23c57a178
commit 6989afc229

View File

@ -355,7 +355,7 @@ KPluginInfo::List PluginLoader::internalServiceInfo() const
return KPluginInfo::List();
}
KPluginInfo::List standardInternalInfo(const QString &type, const QString &category = 0)
KPluginInfo::List standardInternalInfo(const QString &type, const QString &category = QString())
{
QStringList files = KGlobal::dirs()->findAllResources("appdata",
"plasma/internal/" + type + "/*.desktop",