[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Fri May 27 23:59:59 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=3e869fa
The following commit has been merged in the master branch:
commit 3e869facd35a047e9a42532d508f67ccf9a5ceae
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Tue Sep 20 14:36:12 2011 +0100
Add some Q_ASSERTs to simplify debug
---
src/salut-enable-dialog.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/salut-enable-dialog.cpp b/src/salut-enable-dialog.cpp
index 954f6f9..abc2b2c 100644
--- a/src/salut-enable-dialog.cpp
+++ b/src/salut-enable-dialog.cpp
@@ -111,6 +111,15 @@ void SalutEnableDialog::onProfileManagerReady(Tp::PendingOperation* op)
// Add the parameters to the model.
ParameterEditModel *parameterModel = new ParameterEditModel(this);
d->profile = d->profileManager->profilesForCM("salut").first();
+
+ Q_ASSERT(d->profile.isNull());
+ Q_ASSERT(d->profile->isValid());
+ Q_ASSERT(d->profile->protocolName() == QLatin1String("local-xmpp"));
+ if(!d->profile.isNull() || !d->profile->isValid() || d->profile->protocolName() == QLatin1String("local-xmpp"))
+ {
+ kWarning() << "Something went wrong with telepathy salut";
+ }
+
parameterModel->addItems(parameters, d->profile->parameters());
// Set up the interface
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list