Commit d73b2455 authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

remove traces of color average properly

Fixes the 48f8f000

CCMAIL: Jonah Brüchert <jbb.prv@gmx.de>
parent 48f8f000
set(homescreen_SRCS
homescreen.cpp
applicationlistmodel.cpp
colouraverage.cpp
)
add_library(plasma_containment_phone_homescreen MODULE ${homescreen_SRCS})
......
......@@ -19,7 +19,6 @@
#include "homescreen.h"
#include "applicationlistmodel.h"
#include "colouraverage.h"
#include <QtQml>
#include <QDebug>
......@@ -29,9 +28,6 @@ HomeScreen::HomeScreen(QObject *parent, const QVariantList &args)
: Plasma::Containment(parent, args)
{
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);
}
......
  • Sorry, apparently I forgot to commit a few files (because I tested the compilation before opening the mr)

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment