summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2017-01-22 03:25:18 +0100
committerAleix Pol <[email protected]>2017-01-22 03:25:18 +0100
commit4e0fc3328ceccf4118e619928e75b39671050597 (patch)
tree4c9a938c3382ff74d3afabac5d7ba49fccfa4559
parent688cdf7c32f663cf943068491a7ddbb875f4cec1 (diff)
Fix the SettingsPage
-rw-r--r--discover/DiscoverMainWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/DiscoverMainWindow.cpp b/discover/DiscoverMainWindow.cpp
index a60e429..2611ee4 100644
--- a/discover/DiscoverMainWindow.cpp
+++ b/discover/DiscoverMainWindow.cpp
@@ -97,6 +97,7 @@ DiscoverMainWindow::DiscoverMainWindow(CompactMode mode)
qmlRegisterType<IconColors>("org.kde.discover.app", 1, 0, "IconColors");
qmlRegisterType<KConcatenateRowsProxyModel>("org.kde.discover.app", 1, 0, "KConcatenateRowsProxyModel");
qmlRegisterType<FeaturedModel>("org.kde.discover.app", 1, 0, "FeaturedModel");
+ qmlRegisterType<QSortFilterProxyModel>("org.kde.discover.app", 1, 0, "QSortFilterProxyModel");
qmlRegisterSingletonType<SystemFonts>("org.kde.discover.app", 1, 0, "SystemFonts", ([](QQmlEngine*, QJSEngine*) -> QObject* { return new SystemFonts; }));
qmlRegisterSingletonType(QUrl(QStringLiteral("qrc:/qml/DiscoverSystemPalette.qml")), "org.kde.discover.app", 1, 0, "DiscoverSystemPalette");