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

List:       kde-commits
Subject:    kdevelop/parts/qeditor
From:       Harald Fernengel <harald () kdevelop ! org>
Date:       2003-01-15 18:08:30
[Download RAW message or body]

CVS commit by harald: 

don't crash on exit


  M +3 -2      qeditor_part.cpp   1.41


--- kdevelop/parts/qeditor/qeditor_part.cpp  #1.40:1.41
@@ -193,4 +193,5 @@ void QEditorPart::readConfig( KConfig* c
 void QEditorPart::writeConfig( KConfig* config )
 {
+    if ( m_currentView )
     config->writeEntry( "TabStop", m_currentView->tabStop() );
 }


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

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