From ff8d62d8c8ddf60d34b328a46d448feb95281651 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Tue, 20 May 2014 20:57:21 +0200 Subject: [PATCH] refs #240, removed outdated method --- src/blackcore/context_network_proxy.cpp | 17 ----------------- src/blackcore/context_network_proxy.h | 10 ---------- 2 files changed, 27 deletions(-) diff --git a/src/blackcore/context_network_proxy.cpp b/src/blackcore/context_network_proxy.cpp index 0cd6fd2ff..c164dea3b 100644 --- a/src/blackcore/context_network_proxy.cpp +++ b/src/blackcore/context_network_proxy.cpp @@ -46,23 +46,6 @@ namespace BlackCore Q_UNUSED(s); } - /* - * Logging - */ - void CContextNetworkProxy::log(const QString &method, const QString &m1, const QString &m2, const QString &m3, const QString &m4) const - { - if (m1.isEmpty()) - qDebug() << " LOG: " << method; - else if (m2.isEmpty()) - qDebug() << " LOG: " << method << m1; - else if (m3.isEmpty()) - qDebug() << " LOG: " << method << m1 << m2; - else if (m4.isEmpty()) - qDebug() << " LOG: " << method << m1 << m2 << m3; - else - qDebug() << " LOG: " << method << m1 << m2 << m3 << m4; - } - void CContextNetworkProxy::readAtcBookingsFromSource() const { this->m_dBusInterface->callDBus(QLatin1Literal("readAtcBookingsFromSource")); diff --git a/src/blackcore/context_network_proxy.h b/src/blackcore/context_network_proxy.h index 61427b238..86be9dca1 100644 --- a/src/blackcore/context_network_proxy.h +++ b/src/blackcore/context_network_proxy.h @@ -44,16 +44,6 @@ namespace BlackCore //! \brief DBus version constructor CContextNetworkProxy(const QString &serviceName, QDBusConnection &connection, CRuntimeConfig::ContextMode mode, CRuntime *runtime); - /*! - * \brief Helper for logging, likely to be removed / changed - * \param method - * \param m1 - * \param m2 - * \param m3 - * \param m4 - */ - void log(const QString &method, const QString &m1 = "", const QString &m2 = "", const QString &m3 = "", const QString &m4 = "") const; - public slots: // IContextNetwork overrides //! \copydoc IContextNetwork::readAtcBookingsFromSource()