https://bugs.kde.org/show_bug.cgi?id=379783

--- Comment #4 from Ivan Čukić <ivan.cu...@kde.org> ---
(for reference - IRC remembers no history :) )

Seems that the problem is that RecentUsageModel::componentComplete is not
called in Kicker since RUM is not instantiated via QML in it.

It works (for me at least) when I do the following quick and dirty change:

--- a/applets/kicker/plugin/rootmodel.cpp
+++ b/applets/kicker/plugin/rootmodel.cpp
@@ -410,6 +410,7 @@ void RootModel::refresh()

     if (m_showRecentDocs) {
         m_recentDocsModel = new RecentUsageModel(this,
RecentUsageModel::OnlyDocs, m_recentOrdering);
+        m_recentDocsModel->componentComplete();
         m_entryList.prepend(new GroupEntry(this,
                     m_recentOrdering == RecentUsageModel::Recent
                         ? i18n("Recent Documents")
@@ -421,6 +422,7 @@ void RootModel::refresh()

     if (m_showRecentApps) {
         m_recentAppsModel = new RecentUsageModel(this,
RecentUsageModel::OnlyApps, m_recentOrdering);
+        m_recentAppsModel->componentComplete();
         m_entryList.prepend(new GroupEntry(this,
                     m_recentOrdering == RecentUsageModel::Recent
                         ? i18n("Recent Applications")

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to