diff options
Diffstat (limited to 'recipes-qt/qt5/qtquick1/0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch')
| -rw-r--r-- | recipes-qt/qt5/qtquick1/0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-qt/qt5/qtquick1/0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch b/recipes-qt/qt5/qtquick1/0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch deleted file mode 100644 index 27a2140c..00000000 --- a/recipes-qt/qt5/qtquick1/0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 450d5dee6cc4f35a7475af507b90ba67327ad724 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Tue, 26 Apr 2016 17:48:18 +0200 | ||
| 4 | Subject: [PATCH] qdeclarativetextinput: update to match QWidgetLineControl API | ||
| 5 | change | ||
| 6 | |||
| 7 | * setCursorBlinkPeriod was replaced with setBlinkingCursorEnabled & | ||
| 8 | updateCursorBlinking in qtbase commit: | ||
| 9 | commit 1b5bc9723c0b23ca5197097c3087df6bbe024a2a | ||
| 10 | Author: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | ||
| 11 | Date: Tue Apr 19 10:15:54 2016 +0200 | ||
| 12 | Subject: QWidgetLineControl: respect run-time changes to cursorFlashTime | ||
| 13 | |||
| 14 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 15 | --- | ||
| 16 | src/declarative/graphicsitems/qdeclarativetextinput.cpp | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp | ||
| 20 | index 3ff75fd..e39d1af 100644 | ||
| 21 | --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp | ||
| 22 | +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp | ||
| 23 | @@ -514,7 +514,7 @@ void QDeclarativeTextInput::setCursorVisible(bool on) | ||
| 24 | if (d->cursorVisible == on) | ||
| 25 | return; | ||
| 26 | d->cursorVisible = on; | ||
| 27 | - d->control->setCursorBlinkPeriod(on?QApplication::cursorFlashTime():0); | ||
| 28 | + d->control->setBlinkingCursorEnabled(on); | ||
| 29 | QRect r = d->control->cursorRect(); | ||
| 30 | if (d->control->inputMask().isEmpty()) | ||
| 31 | updateRect(r); | ||
