[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:10:31 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=4576b1d
The following commit has been merged in the master branch:
commit 4576b1d7c6dbf8ae9e44f355f8089f414820a940
Author: Сковорода Никита Андреевич <chalkerx at gmail.com>
Date: Wed Apr 11 16:17:50 2012 +0400
Use defined AVATAR_SIZE and SPACING values instead of some hardcoded numbers for sizeHintContact.
Signed-off-by: Сковорода Никита Андреевич <chalkerx at gmail.com>
---
contact-delegate-compact.cpp | 2 +-
contact-delegate.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contact-delegate-compact.cpp b/contact-delegate-compact.cpp
index 1a82cfa..038d09f 100644
--- a/contact-delegate-compact.cpp
+++ b/contact-delegate-compact.cpp
@@ -129,7 +129,7 @@ QSize ContactDelegateCompact::sizeHintContact(const QStyleOptionViewItem &option
{
Q_UNUSED(option);
Q_UNUSED(index);
- return QSize(0, 28);
+ return QSize(0, AVATAR_SIZE + 2 * SPACING);
}
#include "contact-delegate-compact.moc"
diff --git a/contact-delegate.cpp b/contact-delegate.cpp
index 14024f6..bc9b41c 100644
--- a/contact-delegate.cpp
+++ b/contact-delegate.cpp
@@ -150,7 +150,7 @@ QSize ContactDelegate::sizeHintContact(const QStyleOptionViewItem &option, const
{
Q_UNUSED(option);
Q_UNUSED(index);
- return QSize(0, 32 + 2 * SPACING);
+ return QSize(0, AVATAR_SIZE + 2 * SPACING);
}
void ContactDelegate::hideStatusMessageSlot(const QModelIndex& index)
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list