[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [qtcurve] qt5/style: [qt5] Remove debugging code..... Thanks to wengxt for spotting this ...
From:       Yichao Yu <yyc1992 () gmail ! com>
Date:       2016-03-20 0:01:27
Message-ID: E1ahQoB-0001CB-OI () scm ! kde ! org
[Download RAW message or body]

Git commit 3d8622c419a32033e36e940e8cb09b591ad93e29 by Yichao Yu.
Committed on 20/03/2016 at 00:01.
Pushed by yuyichao into branch 'master'.

[qt5] Remove debugging code..... Thanks to wengxt for spotting this ...

M  +0    -2    qt5/style/qtcurve.cpp

http://commits.kde.org/qtcurve/3d8622c419a32033e36e940e8cb09b591ad93e29

diff --git a/qt5/style/qtcurve.cpp b/qt5/style/qtcurve.cpp
index 43d70d4..b2a7738 100644
--- a/qt5/style/qtcurve.cpp
+++ b/qt5/style/qtcurve.cpp
@@ -662,7 +662,6 @@ void Style::connectDBus()
     m_dbusConnected = registerCleanup([] (void *data) {
             reinterpret_cast<Style*>(data)->disconnectDBus();
         }, this);
-    return;
     auto bus = QDBusConnection::sessionBus();
     bus.connect(QString(), "/KGlobalSettings", "org.kde.KGlobalSettings",
                 "notifyChange", this, SLOT(kdeGlobalSettingsChange(int, int)));
@@ -692,7 +691,6 @@ void Style::disconnectDBus()
     void *cb = m_dbusConnected;
     m_dbusConnected = nullptr;
     unregisterCleanup(cb);
-    return;
     auto bus = QDBusConnection::sessionBus();
     bus.disconnect(QString(), "/KGlobalSettings", "org.kde.KGlobalSettings",
                    "notifyChange",
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic