From 8b78b3a620fac8e7c2219b0a2c3feda9857848fd Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Tue, 22 May 2012 03:05:00 +0900 Subject: Fixed QLineEdit::inputMethodQuery() for Qt::ImHints It should return QWidget::inputMethodHints() instead of QVariant() Change-Id: I01f5de8f2087ac67d125f54f08abed523653eb92 Reviewed-by: Joona Petrell --- src/widgets/widgets/qlineedit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/widgets/widgets/qlineedit.cpp b/src/widgets/widgets/qlineedit.cpp index cd3019b720..a74c529202 100644 --- a/src/widgets/widgets/qlineedit.cpp +++ b/src/widgets/widgets/qlineedit.cpp @@ -1682,7 +1682,7 @@ QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery property) const else return QVariant(d->control->selectionStart()); default: - return QVariant(); + return QWidget::inputMethodQuery(property); } } -- cgit v1.2.3