[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:01:44 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=d4c89b8

The following commit has been merged in the master branch:
commit d4c89b84b0596237f28fd21a603bb6174bd3d3fc
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Mon Feb 27 19:54:57 2012 +0100

    Cleanup
---
 plugins/gabble/gabble-account-ui.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/gabble/gabble-account-ui.cpp b/plugins/gabble/gabble-account-ui.cpp
index 1aa914a..1331a75 100644
--- a/plugins/gabble/gabble-account-ui.cpp
+++ b/plugins/gabble/gabble-account-ui.cpp
@@ -71,9 +71,9 @@ AbstractAccountParametersWidget *GabbleAccountUi::mainOptionsWidget(
         ParameterEditModel *model,
         QWidget *parent) const
 {
-    QModelIndex index = model->indexForParameter(model->parameter(QLatin1String("resource")));
-    if (index.isValid() && model->data(index, ParameterEditModel::ValueRole).toString().isEmpty()) {
-        model->setData(index, QString(QLatin1String("kde-telepathy")), ParameterEditModel::ValueRole);
+    QModelIndex resourceIndex = model->indexForParameter(model->parameter(QLatin1String("resource")));
+    if (resourceIndex.isValid() && model->data(resourceIndex, ParameterEditModel::ValueRole).toString().isEmpty()) {
+        model->setData(resourceIndex, QString::fromLatin1("kde-telepathy"), ParameterEditModel::ValueRole);
     }
 
     if (m_serviceName == QLatin1String("google-talk")) {

-- 
ktp-accounts-kcm packaging



More information about the pkg-kde-commits mailing list