diff options
author | Ana Beatriz Guerrero Lopez <ana@debian.org> | 2009-02-18 00:02:37 +0000 |
---|---|---|
committer | Ana Beatriz Guerrero Lopez <ana@debian.org> | 2009-02-18 00:02:37 +0000 |
commit | 9f72af579a1d31c2ac9572b9b1fb94345ce5043a (patch) | |
tree | b084fb0ff03bac29430b5f2213dd19b06614d2f2 /debian/patches/0210-fix-crash-q3stylesheet-font-size.diff | |
parent | 9a2df626010f7cbccdc812aec07172e0ebd2d128 (diff) | |
parent | 27f5b1f4b636b2efd947f3535f056714d32daa02 (diff) | |
download | qt4-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.diff | 24 |
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 |