[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:28:19 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=128241c
The following commit has been merged in the master branch:
commit 128241c95c8db8d0a694751ed89b3682d2ff4f6c
Author: Aleix Pol <aleixpol at kde.org>
Date: Sat Mar 14 02:20:25 2015 +0100
Don't call the QString copy constructor without need
---
interfaces/devicesmodel.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/interfaces/devicesmodel.cpp b/interfaces/devicesmodel.cpp
index b86bf56..a3cba83 100644
--- a/interfaces/devicesmodel.cpp
+++ b/interfaces/devicesmodel.cpp
@@ -155,9 +155,9 @@ QVariant DevicesModel::data(const QModelIndex& index, int role) const
return QIcon::fromTheme(icon).pixmap(32, 32);
}
case IdModelRole:
- return QString(device->id());
+ return device->id();
case NameModelRole:
- return QString(device->name());
+ return device->name();
case Qt::ToolTipRole:
return QVariant(); //To implement
case StatusModelRole: {
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list