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

List:       kde-commits
Subject:    kdevelop/parts/qeditor
From:       Roberto Raggi <roberto () kdevelop ! org>
Date:       2003-09-27 12:58:06
[Download RAW message or body]

CVS commit by raggi: 

fixed a possible crash with Qt 3.2


  M +2 -2      qeditor_view.cpp   1.44


--- kdevelop/parts/qeditor/qeditor_view.cpp  #1.43:1.44
@@ -563,5 +563,5 @@ void QEditorView::internalEnsureVisibleB
         QTextParagraph* parent = p->prev();
 
-        parentLevel = ((ParagData*) parent->extraData())->level();
+        parentLevel = parent ? ((ParagData*) parent->extraData())->level() : 0;
 
         while( parentLevel > lev ){


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

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