diff options
author | piernov <piernov@piernov.org> | 2012-05-13 21:52:53 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-05-13 21:52:53 +0200 |
commit | fa504e0ca255d4bd0ae33a7338d4fc7468bfeccf (patch) | |
tree | 73e5861b3d536d509e36f503c593d7c3f279b036 /qt/qt-4.7.1-fix-qtbug-15857.patch | |
parent | 15e35540d52a661be27acfac943e345d3ede086d (diff) | |
download | nutyx-pakxe-fa504e0ca255d4bd0ae33a7338d4fc7468bfeccf.tar.gz nutyx-pakxe-fa504e0ca255d4bd0ae33a7338d4fc7468bfeccf.tar.bz2 nutyx-pakxe-fa504e0ca255d4bd0ae33a7338d4fc7468bfeccf.tar.xz nutyx-pakxe-fa504e0ca255d4bd0ae33a7338d4fc7468bfeccf.zip |
Revert "qt et serie poppler dans pakxe"
This reverts commit 7d82a87071202e42e5b464702857df8345ed2693.
Diffstat (limited to 'qt/qt-4.7.1-fix-qtbug-15857.patch')
-rw-r--r-- | qt/qt-4.7.1-fix-qtbug-15857.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/qt/qt-4.7.1-fix-qtbug-15857.patch b/qt/qt-4.7.1-fix-qtbug-15857.patch deleted file mode 100644 index 4a0dfb8b1..000000000 --- a/qt/qt-4.7.1-fix-qtbug-15857.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6ae84f1183e91c910ca92a55e37f8254ace805c0 Mon Sep 17 00:00:00 2001 -From: Jiang Jiang <jiang.jiang@nokia.com> -Date: Mon, 6 Dec 2010 13:07:36 +0100 -Subject: [PATCH] Fix QTextEdit::selectAll crash from textChanged() - -Doing selectAll() after the entire block of text has been removed -will cause this crash, because we didn't check if the block we -found is valid or not. - -Task-number: QTBUG-15857 -Reviewed-by: Eskil ---- - src/gui/text/qtextcursor.cpp | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/src/gui/text/qtextcursor.cpp b/src/gui/text/qtextcursor.cpp -index 769ab2f..f73cc4b 100644 ---- a/src/gui/text/qtextcursor.cpp -+++ b/src/gui/text/qtextcursor.cpp -@@ -363,6 +363,9 @@ bool QTextCursorPrivate::movePosition(QTextCursor::MoveOperation op, QTextCursor - bool adjustX = true; - QTextBlock blockIt = block(); - -+ if (!blockIt.isValid()) -+ return false; -+ - if (op >= QTextCursor::Left && op <= QTextCursor::WordRight - && blockIt.textDirection() == Qt::RightToLeft) { - if (op == QTextCursor::Left) --- -1.6.1 - |