From d73b2455dfe5fa89a2470298b89626889c05d64d Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Fri, 10 Jul 2020 09:14:12 +0530 Subject: [PATCH] remove traces of color average properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the 48f8f00034be30553f0 CCMAIL: Jonah BrĂ¼chert --- containments/homescreen/CMakeLists.txt | 1 - containments/homescreen/homescreen.cpp | 4 ---- 2 files changed, 5 deletions(-) diff --git a/containments/homescreen/CMakeLists.txt b/containments/homescreen/CMakeLists.txt index 944cca6c..d1168dd0 100644 --- a/containments/homescreen/CMakeLists.txt +++ b/containments/homescreen/CMakeLists.txt @@ -1,7 +1,6 @@ set(homescreen_SRCS homescreen.cpp applicationlistmodel.cpp - colouraverage.cpp ) add_library(plasma_containment_phone_homescreen MODULE ${homescreen_SRCS}) diff --git a/containments/homescreen/homescreen.cpp b/containments/homescreen/homescreen.cpp index 318b0e8c..343695fb 100644 --- a/containments/homescreen/homescreen.cpp +++ b/containments/homescreen/homescreen.cpp @@ -19,7 +19,6 @@ #include "homescreen.h" #include "applicationlistmodel.h" -#include "colouraverage.h" #include #include @@ -29,9 +28,6 @@ HomeScreen::HomeScreen(QObject *parent, const QVariantList &args) : Plasma::Containment(parent, args) { qmlRegisterUncreatableType("org.kde.phone.homescreen", 1, 0, "ApplicationListModel", QStringLiteral("Cannot create item of type ApplicationListModel")); - qmlRegisterSingletonType("org.kde.phone.homescreen", 1, 0, "ColourAverage", [](QQmlEngine *, QJSEngine *) -> QObject * { - return new ColourAverage(); - }); setHasConfigurationInterface(true); }