[PATCH] fix bug #25974
Tobias Koenig
tokoe at kde.org
Fri Nov 8 19:24:38 GMT 2002
Hi,
although this bug report is already closed the bug isn't fixed in CVS HEAD.
In the new Qt version the trolls introduced the new QTextEdit wrap policy
I requested for fixing this bug. So can I commit the attached patch?
Ciao,
Tobias
--
In a world without walls and fences who
needs Windows and Gates???
-------------- next part --------------
Index: kdeui/ktip.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeui/ktip.cpp,v
retrieving revision 1.28
diff -u -b -p -r1.28 ktip.cpp
--- kdeui/ktip.cpp 2002/11/04 22:24:49 1.28
+++ kdeui/ktip.cpp 2002/11/08 16:58:57
@@ -198,6 +198,7 @@ KTipDialog::KTipDialog(KTipDatabase *db,
_tipText = new KTextBrowser(topLeft);
+ _tipText->setWrapPolicy( QTextEdit::AtWordOrDocumentBoundary );
_tipText->mimeSourceFactory()->addFilePath(
KGlobal::dirs()->findResourceDir("data", "kdewizard/pics")+"kdewizard/pics/");
_tipText->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
More information about the kde-core-devel
mailing list