[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:13:40 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=4b16b56
The following commit has been merged in the master branch:
commit 4b16b56718838d5134fb3581f8bad752b05ca949
Author: Daniel Cohen <analoguecolour at gmail.com>
Date: Wed Jul 24 20:00:49 2013 +0100
Simulates mouseover to highlight group-arrow when selected with keyboard
BUG: 322196
FIXED-IN: 0.6.3
Reviewed-by: David Edmundson
---
abstract-contact-delegate.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/abstract-contact-delegate.cpp b/abstract-contact-delegate.cpp
index 95c9007..261a4cc 100644
--- a/abstract-contact-delegate.cpp
+++ b/abstract-contact-delegate.cpp
@@ -108,6 +108,10 @@ void AbstractContactDelegate::paintHeader(QPainter *painter, const QStyleOptionV
expandSignOption.rect.setSize(QSize(iconSize, 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
+ if (option.state & QStyle::State_Selected) {
+ expandSignOption.state |= QStyle::State_MouseOver;
+ }
//paint the expand sign
if (option.state & QStyle::State_Open) {
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list