[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9
Maximiliano Curia
maxy at moszumanska.debian.org
Mon May 9 09:08:08 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=d162be9
The following commit has been merged in the master branch:
commit d162be9b7617e30e31f40b39df1db0cee194265b
Author: Alexandr Akulich <akulichalexander at gmail.com>
Date: Fri Apr 11 14:47:25 2014 +0200
FavoriteRoomsModel: Return DisplayRole values for EditRole as well.
Reviewed-by: Dan Vrátil <dvratil at redhat.com>
---
KTp/Models/rooms-model.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/KTp/Models/rooms-model.cpp b/KTp/Models/rooms-model.cpp
index d7047b3..3291b58 100644
--- a/KTp/Models/rooms-model.cpp
+++ b/KTp/Models/rooms-model.cpp
@@ -183,6 +183,7 @@ QVariant KTp::FavoriteRoomsModel::data(const QModelIndex &index, int role) const
const QVariantMap &room = m_favoriteRoomsList.at(row);
switch(role) {
+ case Qt::EditRole: // Return same values for both Display and Edit roles
case Qt::DisplayRole:
switch (index.column()) {
case NameColumn:
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list