diff --git a/src/shell/widgetexplorer/plasmaappletitemmodel.cpp b/src/shell/widgetexplorer/plasmaappletitemmodel.cpp index c347fdb32..72c79ba8c 100644 --- a/src/shell/widgetexplorer/plasmaappletitemmodel.cpp +++ b/src/shell/widgetexplorer/plasmaappletitemmodel.cpp @@ -233,7 +233,7 @@ void PlasmaAppletItemModel::populateModel(const QStringList &whatChanged) continue; } - //kDebug() << info.pluginName() << " is the name of the plugin at" << info.entryPath(); + qDebug() << info.pluginName() << " is the name of the plugin at" << info.entryPath(); //kDebug() << info.name() << info.property("X-Plasma-Thumbnail"); PlasmaAppletItem::FilterFlags flags(PlasmaAppletItem::NoFilter); diff --git a/src/shell/widgetexplorer/widgetexplorer.cpp b/src/shell/widgetexplorer/widgetexplorer.cpp index ee176441a..ffaf030dd 100644 --- a/src/shell/widgetexplorer/widgetexplorer.cpp +++ b/src/shell/widgetexplorer/widgetexplorer.cpp @@ -67,6 +67,7 @@ using namespace Plasma; WidgetAction::WidgetAction(QObject *parent) : QAction(parent) { + qDebug() << "There we go."; } WidgetAction::WidgetAction(const QIcon &icon, const QString &text, QObject *parent) @@ -172,6 +173,10 @@ void WidgetExplorerPrivate::init(Plasma::Location loc) initRunningApplets(); + filterItemModel.setSortCaseSensitivity(Qt::CaseInsensitive); + filterItemModel.setDynamicSortFilter(true); + filterItemModel.setSourceModel(&itemModel); + filterItemModel.sort(0); // Plasma::PackageStructure::Ptr structure = Plasma::PackageStructure::load("Plasma/Generic"); // package = new Plasma::Package(QString(), "org.kde.desktop.widgetexplorer", structure); //