[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [PATCH] fix bug #25974
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2002-11-08 19:24:38
[Download RAW message or body]

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???

["ktip.diff" (text/plain)]

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);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic