You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PackageKit-Qt/0002-Remove-daemon-proxy-co...

29 lines
989 B

From ec677018df575ef295b5a57b66436b24ded63850 Mon Sep 17 00:00:00 2001
From: Daniel Nicoletti <dantti12@gmail.com>
Date: Tue, 6 May 2014 12:42:28 -0300
Subject: [PATCH 2/6] Remove daemon proxy conection to changed()
---
src/daemon.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/daemon.cpp b/src/daemon.cpp
index 621fb89..06907f4 100755
--- a/src/daemon.cpp
+++ b/src/daemon.cpp
@@ -94,10 +94,7 @@ void DaemonPrivate::setupSignal(const QString &signal, bool connect)
const char *signalToConnect = 0;
const char *memberToConnect = 0;
- if (signal == SIGNAL(changed())) {
- signalToConnect = SIGNAL(Changed());
- memberToConnect = SIGNAL(changed());
- } else if (signal == SIGNAL(repoListChanged())) {
+ if (signal == SIGNAL(repoListChanged())) {
signalToConnect = SIGNAL(RepoListChanged());
memberToConnect = SIGNAL(repoListChanged());
} else if (signal == SIGNAL(restartScheduled())) {
--
1.9.3