[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:14:14 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=2649975
The following commit has been merged in the master branch:
commit 2649975e46996b26b02a323c936accd7c5421409
Author: Martin Klapetek <mklapetek at kde.org>
Date: Sat Nov 16 12:25:17 2013 +0100
Make the list indentation smaller
---
abstract-contact-delegate.cpp | 3 ++-
contact-list-widget.cpp | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/abstract-contact-delegate.cpp b/abstract-contact-delegate.cpp
index c9be00b..9791da1 100644
--- a/abstract-contact-delegate.cpp
+++ b/abstract-contact-delegate.cpp
@@ -102,7 +102,8 @@ void AbstractContactDelegate::paintHeader(QPainter *painter, const QStyleOptionV
QStyleOption expandSignOption = option;
expandSignOption.rect = groupRect;
- expandSignOption.rect.setSize(QSize(iconSize, iconSize));
+ //FIXME hardcoded magic...though corresponds with the list indentation
+ expandSignOption.rect.setSize(QSize(14, iconSize));
expandSignOption.rect.moveLeft(groupRect.left());
expandSignOption.rect.moveTop(groupRect.top() + groupRect.height()/2 - expandSignOption.rect.height()/2);
// simulates mouseover to highlight arrow when selected with keyboard
diff --git a/contact-list-widget.cpp b/contact-list-widget.cpp
index f7110f6..0e7a54c 100644
--- a/contact-list-widget.cpp
+++ b/contact-list-widget.cpp
@@ -117,7 +117,7 @@ ContactListWidget::ContactListWidget(QWidget *parent)
setEditTriggers(NoEditTriggers);
setContextMenuPolicy(Qt::CustomContextMenu);
if (KTp::kpeopleEnabled()) {
- setIndentation(25);
+ setIndentation(18);
} else {
setIndentation(0);
}
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list