[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:08:11 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=4d734c0
The following commit has been merged in the master branch:
commit 4d734c04ac25f2ce3c6ea4e943dfee912f20ac57
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date: Fri Dec 9 21:29:05 2011 +0100
Mark unused variables as Q_UNUSED
---
abstract-contact-delegate.cpp | 8 ++++++--
presence-model.cpp | 1 +
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/abstract-contact-delegate.cpp b/abstract-contact-delegate.cpp
index a9eaee6..62b8502 100644
--- a/abstract-contact-delegate.cpp
+++ b/abstract-contact-delegate.cpp
@@ -158,12 +158,16 @@ void AbstractContactDelegate::paintHeader(QPainter *painter, const QStyleOptionV
QSize AbstractContactDelegate::sizeHintHeader(const QStyleOptionViewItem &option, const QModelIndex &index) const
{
- Q_UNUSED(option);
- Q_UNUSED(index);
+ Q_UNUSED(option)
+ Q_UNUSED(index)
return QSize(0,20);
}
bool AbstractContactDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
{
+ Q_UNUSED(event)
+ Q_UNUSED(view)
+ Q_UNUSED(option)
+ Q_UNUSED(index)
return false;
}
diff --git a/presence-model.cpp b/presence-model.cpp
index 72c98c4..6214e03 100644
--- a/presence-model.cpp
+++ b/presence-model.cpp
@@ -84,6 +84,7 @@ QVariant PresenceModel::data(const QModelIndex &index, int role) const
int PresenceModel::rowCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent)
return m_presences.size();
}
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list