[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:58:05 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=29d2bbd
The following commit has been merged in the master branch:
commit 29d2bbd984c286ebb5cb869a4dd1d9af0cd71257
Author: George Goldberg <grundleborg at googlemail.com>
Date: Tue Aug 11 11:06:10 2009 +0000
Uncomment line giving widgets focus in the ParameterItemDelegate after they have been set up (because otherwise widgets were still getting the wrong values in them).
svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1009980
---
src/KCMTelepathyAccounts/parameter-edit-delegate.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp b/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp
index e386271..0ff5e22 100644
--- a/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp
+++ b/src/KCMTelepathyAccounts/parameter-edit-delegate.cpp
@@ -98,7 +98,7 @@ void ParameterEditDelegate::updateItemWidgets(const QList<QWidget*> widgets,
// Bool type. Draw a checkbox.
checkBox->move((right / 2) + margin, (option.rect.height() - checkBox->size().height()) / 2);
- // checkBox->setFocus(Qt::OtherFocusReason);
+ checkBox->setFocus(Qt::OtherFocusReason);
// NB: We must update the value of the widget AFTER setting it as focused, otherwise
// focusedItem() returns the wrong value and we end up setting the data of the wrong item
// in the model.
@@ -118,7 +118,7 @@ void ParameterEditDelegate::updateItemWidgets(const QList<QWidget*> widgets,
// Save the cursor position within the widget so we can restore it after altering the data
int cursorPosition = integerEdit->cursorPosition();
- // integerEdit->setFocus(Qt::OtherFocusReason);
+ integerEdit->setFocus(Qt::OtherFocusReason);
// NB: We must update the value of the widget AFTER setting it as focused, otherwise
// focusedItem() returns the wrong value and we end up setting the data of the wrong item
// in the model.
@@ -143,7 +143,7 @@ void ParameterEditDelegate::updateItemWidgets(const QList<QWidget*> widgets,
// Save the cursor position within the widget so we can restore it after altering the data
int cursorPosition = unsignedIntegerEdit->cursorPosition();
- // integerEdit->setFocus(Qt::OtherFocusReason);
+ integerEdit->setFocus(Qt::OtherFocusReason);
// NB: We must update the value of the widget AFTER setting it as focused, otherwise
// focusedItem() returns the wrong value and we end up setting the data of the wrong item
// in the model.
@@ -172,7 +172,7 @@ void ParameterEditDelegate::updateItemWidgets(const QList<QWidget*> widgets,
// Save the cursor position within the widget so we can restore it after altering the data
int cursorPosition = lineEdit->cursorPosition();
- // lineEdit->setFocus(Qt::OtherFocusReason);
+ lineEdit->setFocus(Qt::OtherFocusReason);
// NB: We must update the value of the widget AFTER setting it as focused, otherwise
// focusedItem() returns the wrong value and we end up setting the data of the wrong item
// in the model.
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list