[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:11:01 UTC 2016


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

The following commit has been merged in the master branch:
commit 8847d499e9162f7cb43277b843347b61d6465c73
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Mon Jul 16 15:48:29 2012 +0200

    Code cleanup
---
 contact-delegate-overlay.cpp | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/contact-delegate-overlay.cpp b/contact-delegate-overlay.cpp
index c75e3ea..3d47199 100644
--- a/contact-delegate-overlay.cpp
+++ b/contact-delegate-overlay.cpp
@@ -120,17 +120,7 @@ QAbstractItemView* ContactDelegateOverlay::view() const
 
 void ContactDelegateOverlay::setDelegate(QAbstractItemDelegate *delegate)
 {
-//     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()));
-//     }
 }
 
 QAbstractItemDelegate* ContactDelegateOverlay::delegate() const
@@ -159,7 +149,6 @@ void ContactDelegateOverlay::slotEntered(const QModelIndex& index)
         m_button.data()->setIndex(index);
         updateButton(index);
         QTimer::singleShot(0, m_button.data(), SLOT(show()));
-//        m_button.data()->show();
         emit overlayActivated(index);
     }
 }
@@ -190,7 +179,6 @@ bool ContactDelegateOverlay::eventFilter(QObject *obj, QEvent *event)
             case QEvent::Leave:
                 slotHideButton();
                 emit overlayHidden();
-                //viewportLeaveEvent(obj, event);
                 break;
             case QEvent::MouseMove:
                 if (m_mouseButtonPressedOnWidget) {
@@ -232,10 +220,6 @@ void ContactDelegateOverlayContainer::installOverlay(ContactDelegateOverlay *ove
 
     overlay->setDelegate(asDelegate());
     m_overlays << overlay;
-    // let the view call setActive
-
-//     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