remove traces of color average properly

Fixes the 48f8f00034

CCMAIL: Jonah Brüchert <jbb.prv@gmx.de>
This commit is contained in:
Bhushan Shah 2020-07-10 09:14:12 +05:30
parent 48f8f00034
commit d73b2455df
2 changed files with 0 additions and 5 deletions

View file

@ -1,7 +1,6 @@
set(homescreen_SRCS set(homescreen_SRCS
homescreen.cpp homescreen.cpp
applicationlistmodel.cpp applicationlistmodel.cpp
colouraverage.cpp
) )
add_library(plasma_containment_phone_homescreen MODULE ${homescreen_SRCS}) add_library(plasma_containment_phone_homescreen MODULE ${homescreen_SRCS})

View file

@ -19,7 +19,6 @@
#include "homescreen.h" #include "homescreen.h"
#include "applicationlistmodel.h" #include "applicationlistmodel.h"
#include "colouraverage.h"
#include <QtQml> #include <QtQml>
#include <QDebug> #include <QDebug>
@ -29,9 +28,6 @@ HomeScreen::HomeScreen(QObject *parent, const QVariantList &args)
: Plasma::Containment(parent, args) : Plasma::Containment(parent, args)
{ {
qmlRegisterUncreatableType<ApplicationListModel>("org.kde.phone.homescreen", 1, 0, "ApplicationListModel", QStringLiteral("Cannot create item of type ApplicationListModel")); qmlRegisterUncreatableType<ApplicationListModel>("org.kde.phone.homescreen", 1, 0, "ApplicationListModel", QStringLiteral("Cannot create item of type ApplicationListModel"));
qmlRegisterSingletonType<ColourAverage>("org.kde.phone.homescreen", 1, 0, "ColourAverage", [](QQmlEngine *, QJSEngine *) -> QObject * {
return new ColourAverage();
});
setHasConfigurationInterface(true); setHasConfigurationInterface(true);
} }