[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:06:34 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=06da257

The following commit has been merged in the master branch:
commit 06da2578e2ecfa71db1d776ca9078322328891da
Author: Alin M Elena <alinm.elena at gmail.com>
Date:   Thu Mar 7 16:09:41 2013 +0000

    make it compile with  -Werror -std=c++11
---
 tests/roles-proxy-model.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/roles-proxy-model.cpp b/tests/roles-proxy-model.cpp
index 6a0c3e1..70ed6b0 100644
--- a/tests/roles-proxy-model.cpp
+++ b/tests/roles-proxy-model.cpp
@@ -49,7 +49,8 @@ void RolesProxyModel::setSourceModel(QAbstractItemModel *sourceModel)
 }
 
 int RolesProxyModel::columnCount(const QModelIndex &parent) const
-{
+{   
+    Q_UNUSED(parent);
     // Number of columns is number of roles available to QML
     return sourceModel()->roleNames().size();
 }
@@ -116,6 +117,7 @@ Qt::ItemFlags RolesProxyModel::flags(const QModelIndex &index) const
 
 QVariant RolesProxyModel::headerData(int section, Qt::Orientation orientation, int role) const
 {
+    Q_UNUSED(orientation);
     if (role == Qt::DisplayRole) {
         return sourceModel()->roleNames().values().at(section);
     }

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list