[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:07:29 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=5349514

The following commit has been merged in the master branch:
commit 534951439150ae357cfb3a44fb35c8e73c8a0553
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Mon Sep 12 19:45:49 2011 +0200

    Temporarily disble few connections to non-existant slots/signals. This kills the errors in console output and apparently everything still works. I plan to do a review of the overlays so if I'll find out these are indeed not needed, I'll remove them for good.
    
    BUG: 281390
---
 contact-delegate-overlay.cpp | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/contact-delegate-overlay.cpp b/contact-delegate-overlay.cpp
index 5fe83ab..032dd38 100644
--- a/contact-delegate-overlay.cpp
+++ b/contact-delegate-overlay.cpp
@@ -77,17 +77,17 @@ QAbstractItemView* ContactDelegateOverlay::view() const
 
 void ContactDelegateOverlay::setDelegate(QAbstractItemDelegate* delegate)
 {
-    if (m_delegate) {
-        disconnect(m_delegate, SIGNAL(visualChange()),
-                   this, SLOT(visualChange()));
-    }
+//     if (m_delegate) {
+//         disconnect(m_delegate, SIGNAL(visualChange()),
+//                    this, SLOT(visualChange()));
+//     }
 
     m_delegate = delegate;
 
-    if (m_delegate) {
-        connect(m_delegate, SIGNAL(visualChange()),
-                this, SLOT(visualChange()));
-    }
+//     if (m_delegate) {
+//         connect(m_delegate, SIGNAL(visualChange()),
+//                 this, SLOT(visualChange()));
+//     }
 }
 
 QAbstractItemDelegate* ContactDelegateOverlay::delegate() const
@@ -328,8 +328,8 @@ void ContactDelegateOverlayContainer::installOverlay(ContactDelegateOverlay* ove
     m_overlays << overlay;
     // let the view call setActive
 
-    QObject::connect(overlay, SIGNAL(destroyed(QObject*)),
-                     asDelegate(), SLOT(overlayDestroyed(QObject*)));
+//     QObject::connect(overlay, SIGNAL(destroyed(QObject*)),
+//                      asDelegate(), SLOT(overlayDestroyed(QObject*)));
 }
 
 void ContactDelegateOverlayContainer::removeOverlay(ContactDelegateOverlay* overlay)

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list