[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:28:30 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=a51283b
The following commit has been merged in the master branch:
commit a51283b62bf71e8bec7b7dcd5df6e47c89a53f3e
Author: Aleix Pol <aleixpol at kde.org>
Date: Wed Apr 15 13:01:33 2015 +0200
Re-use the uri instead of creating new ones just because
As Albert suggested
---
plasmoid/declarativeplugin/kdeconnectdeclarativeplugin.cpp | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/plasmoid/declarativeplugin/kdeconnectdeclarativeplugin.cpp b/plasmoid/declarativeplugin/kdeconnectdeclarativeplugin.cpp
index c9c5f3d..28892f9 100644
--- a/plasmoid/declarativeplugin/kdeconnectdeclarativeplugin.cpp
+++ b/plasmoid/declarativeplugin/kdeconnectdeclarativeplugin.cpp
@@ -55,13 +55,11 @@ QObject* createDBusResponse()
void KdeConnectDeclarativePlugin::registerTypes(const char* uri)
{
- Q_UNUSED(uri);
-
- qmlRegisterType<DevicesModel>("org.kde.kdeconnect", 1, 0, "DevicesModel");
- qmlRegisterType<NotificationsModel>("org.kde.kdeconnect", 1, 0, "NotificationsModel");
- qmlRegisterType<DBusAsyncResponse>("org.kde.kdeconnect", 1, 0, "DBusAsyncResponse");
+ qmlRegisterType<DevicesModel>(uri, 1, 0, "DevicesModel");
+ qmlRegisterType<NotificationsModel>(uri, 1, 0, "NotificationsModel");
+ qmlRegisterType<DBusAsyncResponse>(uri, 1, 0, "DBusAsyncResponse");
qmlRegisterType<ProcessRunner>(uri, 1, 0, "ProcessRunner");
- qmlRegisterUncreatableType<DeviceDbusInterface>("org.kde.kdeconnect", 1, 0, "DeviceDbusInterface", QStringLiteral("You're not supposed to instantiate interfacess"));
+ qmlRegisterUncreatableType<DeviceDbusInterface>(uri, 1, 0, "DeviceDbusInterface", QStringLiteral("You're not supposed to instantiate interfacess"));
}
void KdeConnectDeclarativePlugin::initializeEngine(QQmlEngine* engine, const char* uri)
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list