[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:58:11 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=79d3db7

The following commit has been merged in the master branch:
commit 79d3db7c1de195555a124f18126caf877ed76b96
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Tue Sep 13 16:58:36 2011 +0100

    Use kDebug instead of qDebug
---
 handler-auth.cpp    | 6 +++---
 password-prompt.cpp | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/handler-auth.cpp b/handler-auth.cpp
index f2ef172..19bd4fd 100644
--- a/handler-auth.cpp
+++ b/handler-auth.cpp
@@ -57,7 +57,7 @@ HandlerAuth::~HandlerAuth()
 void HandlerAuth::gotAvailableSASLMechanisms(Tp::PendingOperation *op)
 {
     if (op->isError()) {
-        qWarning() << "Unable to retrieve available SASL mechanisms";
+        kWarning() << "Unable to retrieve available SASL mechanisms";
         setFinishedWithError(op->errorName(), op->errorMessage());
         return;
     }
@@ -125,12 +125,12 @@ void HandlerAuth::promptUser(bool isFirstRun)
     PasswordPrompt dialog(m_account);
 
     if (dialog.exec() == QDialog::Rejected) {
-        qDebug() << "Authentication canceled";
+        kDebug() << "Authentication canceled";
         m_channel->close();
         return;
     }
 
-    qDebug() << "Starting authentication...";
+    kDebug() << "Starting authentication...";
 
     m_channel->startMechanismWithData(QLatin1String("X-TELEPATHY-PASSWORD"),
             dialog.password().toUtf8());
diff --git a/password-prompt.cpp b/password-prompt.cpp
index e36fd26..8dd6596 100644
--- a/password-prompt.cpp
+++ b/password-prompt.cpp
@@ -2,6 +2,7 @@
 #include "ui_password-prompt.h"
 
 #include <KIcon>
+#include <KDebug>
 
 PasswordPrompt::PasswordPrompt(const Tp::AccountPtr &account, QWidget *parent) :
     KDialog(parent),
@@ -22,7 +23,7 @@ PasswordPrompt::PasswordPrompt(const Tp::AccountPtr &account, QWidget *parent) :
 PasswordPrompt::~PasswordPrompt()
 {
     delete ui;
-    qDebug() << "I've been deleted";
+    kDebug() << "I've been deleted";
 }
 
 QString PasswordPrompt::password() const

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list