[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:26 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=feeb4ae
The following commit has been merged in the master branch:
commit feeb4ae0c071992bfa46312ea97afd156cd69281
Author: George Goldberg <grundleborg at googlemail.com>
Date: Thu Jul 23 17:13:26 2009 +0000
Little bit of tidyup, removing some annoying kDebug() statements adding a couple of missing lines.
svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1001580
---
src/add-account-assistant.cpp | 2 ++
src/parameter-edit-delegate.cpp | 8 ++------
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/add-account-assistant.cpp b/src/add-account-assistant.cpp
index e991f09..6eea5b2 100644
--- a/src/add-account-assistant.cpp
+++ b/src/add-account-assistant.cpp
@@ -67,6 +67,8 @@ AddAccountAssistant::AddAccountAssistant(QWidget *parent)
addPage(d->pageOne);
addPage(d->pageTwo);
+
+ resize(QSize(400, 480));
}
AddAccountAssistant::~AddAccountAssistant()
diff --git a/src/parameter-edit-delegate.cpp b/src/parameter-edit-delegate.cpp
index a169bd2..31c0901 100644
--- a/src/parameter-edit-delegate.cpp
+++ b/src/parameter-edit-delegate.cpp
@@ -47,8 +47,6 @@ ParameterEditDelegate::~ParameterEditDelegate()
QList<QWidget*> ParameterEditDelegate::createItemWidgets() const
{
- kDebug();
-
QList<QWidget*> widgets;
QLabel *nameLabel = new QLabel();
@@ -63,8 +61,6 @@ void ParameterEditDelegate::updateItemWidgets(const QList<QWidget*> widgets,
const QStyleOptionViewItem &option,
const QPersistentModelIndex &index) const
{
- kDebug();
-
int margin = option.fontMetrics.height() / 2;
int right = option.rect.width();
@@ -95,13 +91,13 @@ void ParameterEditDelegate::paint(QPainter *painter,
} else {
painter->setPen(QPen(option.palette.text().color()));
}
+
+ painter->restore();
}
QSize ParameterEditDelegate::sizeHint(const QStyleOptionViewItem &option,
const QModelIndex &index) const
{
- // TODO: Implement me!
-
QSize size;
size.setWidth(option.fontMetrics.height() * 4);
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list