[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:10:40 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=75b120f

The following commit has been merged in the master branch:
commit 75b120f3a017b9b0892c530a1bd3b9f33db5475b
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Sun May 13 04:52:53 2012 +0100

    Make sure Qt::FontRole in presence-model is handled correctly in switch
---
 presence-model.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/presence-model.cpp b/presence-model.cpp
index b2b04ae..72bfc3d 100644
--- a/presence-model.cpp
+++ b/presence-model.cpp
@@ -80,6 +80,9 @@ QVariant PresenceModel::data(const QModelIndex &index, int role) const
             font.setBold(true);
             return font;
         }
+        else {
+            return QVariant();
+        }
 
     case PresenceModel::PresenceRole:
         return QVariant::fromValue<KTp::Presence>(presence);

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list