kdelibs/kdelibs-3.5.6-qt3.3.8.patch
2007-03-26 15:41:04 +00:00

18 lines
583 B
Diff

Index: khtml/test_regression_fontoverload.cpp
===================================================================
--- khtml/test_regression_fontoverload.cpp (Revision 628131)
+++ khtml/test_regression_fontoverload.cpp (Revision 628132)
@@ -244,7 +244,11 @@
// fe->setScale( scale );
- QFontCache::Key key( request, script, fp->screen );
+ QFontCache::Key key( request, script, fp->screen
+#if QT_VERSION >= 0x030308
+ , fp->paintdevice
+#endif
+ );
QFontCache::instance->insertEngine( key, fe );
return fe;
}