[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:27:44 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=446dbbc
The following commit has been merged in the master branch:
commit 446dbbc230441aa8c6842276562e30cfcacd0f55
Author: Aleix Pol <aleixpol at kde.org>
Date: Fri Jun 27 16:16:45 2014 +0200
Remove IsPairedRole
It was not a good idea
---
interfaces/devicesmodel.cpp | 2 --
interfaces/devicesmodel.h | 3 +--
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp
index 479a1d1..8242107 100644
--- a/interfaces/devicesmodel.cpp
+++ b/interfaces/devicesmodel.cpp
@@ -170,8 +170,6 @@ QVariant DevicesModel::data(const QModelIndex& index, int role) const
}
case IconNameRole:
return device->iconName();
- case IsPairedRole:
- return QVariant::fromValue<bool>(device->isPaired());
default:
return QVariant();
}
diff --git a/interfaces/devicesmodel.h b/interfaces/devicesmodel.h
index 7cc0f96..7479dea 100644
--- a/interfaces/devicesmodel.h
+++ b/interfaces/devicesmodel.h
@@ -44,8 +44,7 @@ public:
IconModelRole = Qt::DecorationRole,
StatusModelRole = Qt::InitialSortOrderRole,
IdModelRole = Qt::UserRole,
- IconNameRole,
- IsPairedRole
+ IconNameRole
};
enum StatusFlag {
StatusUnknown = 0x00,
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list