label the widgets section with a title as well

svn path=/trunk/KDE/kdelibs/; revision=1022572
This commit is contained in:
Aaron J. Seigo 2009-09-12 03:48:56 +00:00
parent 432ad10dbe
commit 7d23823095

View File

@ -1358,6 +1358,7 @@ void ContainmentPrivate::mimeTypeRetrieved(KIO::Job * job, const QString &mimety
if (!appletList.isEmpty() || !wallpaperList.isEmpty()) { if (!appletList.isEmpty() || !wallpaperList.isEmpty()) {
choices->clear(); choices->clear();
QHash<QAction *, QString> actionsToApplets; QHash<QAction *, QString> actionsToApplets;
choices->addTitle(i18n("Widgets"));
foreach (const KPluginInfo &info, appletList) { foreach (const KPluginInfo &info, appletList) {
kDebug() << info.name(); kDebug() << info.name();
QAction *action; QAction *action;