mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
In the words of Stephan Kulow <coolo@kde.org>:
"That's the penalty of using private interfaces". Fix build with Qt 3.0.5 by using a patch committed to KDE CVS. It was backported to KDE_3_0_BRANCH so this patch will be removed with the upgrade to KDE 3.0.3 (well, if it happens long enough before KDE 3.1).
This commit is contained in:
parent
ca5ca105b9
commit
a3140d136a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63774
15
deskutils/kdepim3/files/patch-knote.cpp
Normal file
15
deskutils/kdepim3/files/patch-knote.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
--- knotes/knote.cpp 2002/06/17 20:23:11 1.61
|
||||
+++ knotes/knote.cpp 2002/07/04 08:51:19 1.62
|
||||
@@ -497,7 +497,11 @@
|
||||
|
||||
QTextDocument* textDoc = new QTextDocument( 0 );
|
||||
textDoc->setFormatter( new QTextFormatterBreakWords );
|
||||
- textDoc->setDefaultFont( font ); // only needed for the pointsize
|
||||
+#if QT_VERSION > 304
|
||||
+ textDoc->setDefaultFormat( font, Qt::black ); // only needed for the pointsize
|
||||
+#else
|
||||
+ textDoc->setDefaultFont( font ); // only needed for the pointsize
|
||||
+#endif
|
||||
textDoc->setUnderlineLinks( true );
|
||||
textDoc->setStyleSheet( m_editor->styleSheet() );
|
||||
textDoc->setMimeSourceFactory( m_editor->mimeSourceFactory() );
|
15
deskutils/kdepim4/files/patch-knote.cpp
Normal file
15
deskutils/kdepim4/files/patch-knote.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
--- knotes/knote.cpp 2002/06/17 20:23:11 1.61
|
||||
+++ knotes/knote.cpp 2002/07/04 08:51:19 1.62
|
||||
@@ -497,7 +497,11 @@
|
||||
|
||||
QTextDocument* textDoc = new QTextDocument( 0 );
|
||||
textDoc->setFormatter( new QTextFormatterBreakWords );
|
||||
- textDoc->setDefaultFont( font ); // only needed for the pointsize
|
||||
+#if QT_VERSION > 304
|
||||
+ textDoc->setDefaultFormat( font, Qt::black ); // only needed for the pointsize
|
||||
+#else
|
||||
+ textDoc->setDefaultFont( font ); // only needed for the pointsize
|
||||
+#endif
|
||||
textDoc->setUnderlineLinks( true );
|
||||
textDoc->setStyleSheet( m_editor->styleSheet() );
|
||||
textDoc->setMimeSourceFactory( m_editor->mimeSourceFactory() );
|
15
deskutils/kdepim44/files/patch-knote.cpp
Normal file
15
deskutils/kdepim44/files/patch-knote.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
--- knotes/knote.cpp 2002/06/17 20:23:11 1.61
|
||||
+++ knotes/knote.cpp 2002/07/04 08:51:19 1.62
|
||||
@@ -497,7 +497,11 @@
|
||||
|
||||
QTextDocument* textDoc = new QTextDocument( 0 );
|
||||
textDoc->setFormatter( new QTextFormatterBreakWords );
|
||||
- textDoc->setDefaultFont( font ); // only needed for the pointsize
|
||||
+#if QT_VERSION > 304
|
||||
+ textDoc->setDefaultFormat( font, Qt::black ); // only needed for the pointsize
|
||||
+#else
|
||||
+ textDoc->setDefaultFont( font ); // only needed for the pointsize
|
||||
+#endif
|
||||
textDoc->setUnderlineLinks( true );
|
||||
textDoc->setStyleSheet( m_editor->styleSheet() );
|
||||
textDoc->setMimeSourceFactory( m_editor->mimeSourceFactory() );
|
Loading…
Reference in New Issue
Block a user