[SCM] ktp-send-file packaging branch, master, updated. debian/15.12.1-2-216-g8f07cdf
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:14:21 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-send-file.git;a=commitdiff;h=9215fab
The following commit has been merged in the master branch:
commit 9215faba7e959b2d2eb140c07400915ea4146108
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Fri Dec 9 21:18:22 2011 +0100
Mark unused variables as Q_UNUSED
---
flat-model-proxy.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/flat-model-proxy.cpp b/flat-model-proxy.cpp
index 185a8ca..a3dc56d 100644
--- a/flat-model-proxy.cpp
+++ b/flat-model-proxy.cpp
@@ -94,6 +94,7 @@ QModelIndex FlatModelProxy::mapToSource(const QModelIndex &index) const
QModelIndex FlatModelProxy::index(int row, int column, const QModelIndex &parent) const
{
+ Q_UNUSED(parent)
int count = 0;
for (int i = 0; i < sourceModel()->rowCount(QModelIndex()); i++) {
QModelIndex sourceIndex = sourceModel()->index(i, 0, QModelIndex());
@@ -108,11 +109,13 @@ QModelIndex FlatModelProxy::index(int row, int column, const QModelIndex &parent
QModelIndex FlatModelProxy::parent(const QModelIndex &index) const
{
+ Q_UNUSED(index)
return QModelIndex();
}
int FlatModelProxy::columnCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent)
return 1;
}
@@ -123,6 +126,7 @@ int FlatModelProxy::rowCount() const
int FlatModelProxy::rowCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent)
return mPriv->offsetOf(this, sourceModel()->rowCount(QModelIndex()));
}
@@ -150,6 +154,8 @@ void FlatModelProxy::onRowsAboutToBeRemoved(const QModelIndex &index, int first,
void FlatModelProxy::onRowsInserted(const QModelIndex &index, int first, int last)
{
+ Q_UNUSED(first)
+ Q_UNUSED(last)
if (index.isValid()) {
endInsertRows();
}
@@ -157,6 +163,8 @@ void FlatModelProxy::onRowsInserted(const QModelIndex &index, int first, int las
void FlatModelProxy::onRowsRemoved(const QModelIndex &index, int first, int last)
{
+ Q_UNUSED(first)
+ Q_UNUSED(last)
if (index.isValid()) {
endRemoveRows();
}
--
ktp-send-file packaging
More information about the pkg-kde-commits
mailing list