From 4b08ec78ebb252a5e91c71dc2fff53be63f782ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Wed, 19 Nov 2014 19:33:04 +0100 Subject: [PATCH] don't create SystemTray::Task twice --- applets/systemtray/plugin/systemtrayplugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/applets/systemtray/plugin/systemtrayplugin.cpp b/applets/systemtray/plugin/systemtrayplugin.cpp index d5b5fe0e6..2c97056bb 100644 --- a/applets/systemtray/plugin/systemtrayplugin.cpp +++ b/applets/systemtray/plugin/systemtrayplugin.cpp @@ -43,7 +43,6 @@ void SystemTrayPlugin::registerTypes(const char *uri) qmlRegisterUncreatableType(uri, 2, 0, "Task", "You cannot create Task objects."); qmlRegisterUncreatableType(uri, 2, 0, "DBusSystemTrayTask", "You cannot create Task objects."); qmlRegisterUncreatableType(uri, 2, 0, "PlasmoidTask", "You cannot create Task objects."); - qmlRegisterUncreatableType(uri, 2, 0, "Task", "You cannot create Task objects."); qCDebug(SYSTEMTRAY) << "Categorized debug"; }