[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:57:27 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=91fea32

The following commit has been merged in the master branch:
commit 91fea32e3800f29cf904a191a6ce2660d298ec10
Author: George Goldberg <grundleborg at googlemail.com>
Date:   Thu Jul 23 17:13:34 2009 +0000

    compiler warnings--
    
    svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1001582
---
 src/parameter-edit-delegate.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/parameter-edit-delegate.cpp b/src/parameter-edit-delegate.cpp
index d24586e..55e9a01 100644
--- a/src/parameter-edit-delegate.cpp
+++ b/src/parameter-edit-delegate.cpp
@@ -101,7 +101,7 @@ void ParameterEditDelegate::paint(QPainter *painter,
                                   const QStyleOptionViewItem &option,
                                   const QModelIndex &index) const
 {
-    int margin = option.fontMetrics.height() / 2;
+    Q_UNUSED(index);
 
     QStyle *style = QApplication::style();
     style->drawPrimitive(QStyle::PE_PanelItemViewItem, &option, painter, 0);
@@ -120,6 +120,10 @@ void ParameterEditDelegate::paint(QPainter *painter,
 QSize ParameterEditDelegate::sizeHint(const QStyleOptionViewItem &option,
                                       const QModelIndex &index) const
 {
+    Q_UNUSED(index);
+
+    // FIXME: There must be a better way of calculating these?!?!
+
     QSize size;
 
     size.setWidth(option.fontMetrics.height() * 4);

-- 
ktp-accounts-kcm packaging



More information about the pkg-kde-commits mailing list