summaryrefslogtreecommitdiff
path: root/debian/patches/0210-fix-crash-q3stylesheet-font-size.diff
diff options
context:
space:
mode:
authorAna Beatriz Guerrero Lopez <ana@debian.org>2009-02-18 00:02:37 +0000
committerAna Beatriz Guerrero Lopez <ana@debian.org>2009-02-18 00:02:37 +0000
commit9f72af579a1d31c2ac9572b9b1fb94345ce5043a (patch)
treeb084fb0ff03bac29430b5f2213dd19b06614d2f2 /debian/patches/0210-fix-crash-q3stylesheet-font-size.diff
parent9a2df626010f7cbccdc812aec07172e0ebd2d128 (diff)
parent27f5b1f4b636b2efd947f3535f056714d32daa02 (diff)
downloadqt4-x11-9f72af579a1d31c2ac9572b9b1fb94345ce5043a.tar.gz
moved stuff from trunk/
Diffstat (limited to 'debian/patches/0210-fix-crash-q3stylesheet-font-size.diff')
-rw-r--r--debian/patches/0210-fix-crash-q3stylesheet-font-size.diff24
1 files changed, 0 insertions, 24 deletions
diff --git a/debian/patches/0210-fix-crash-q3stylesheet-font-size.diff b/debian/patches/0210-fix-crash-q3stylesheet-font-size.diff
deleted file mode 100644
index 338478b..0000000
--- a/debian/patches/0210-fix-crash-q3stylesheet-font-size.diff
+++ /dev/null
@@ -1,24 +0,0 @@
-qt-bugs@ issue : 197621
-Trolltech task ID : 197836
-bugs.kde.org number : none
-applied: no
-author: Montel Laurent <montel@kde.org>
-
-This patch fixes crashs in q3stylesheet (it was possible to
-use a qfont size < 1)
-Bug reported to TT with this patch.
-
---- a/src/qt3support/text/q3stylesheet.cpp
-+++ b/src/qt3support/text/q3stylesheet.cpp
-@@ -1463,9 +1463,9 @@
- s = baseSize;
- }
- if (pixel)
-- font.setPixelSize(s);
-+ font.setPixelSize(qMax(1,s));
- else
-- font.setPointSize(s);
-+ font.setPointSize(qMax(1,s));
- }
-
- QT_END_NAMESPACE