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

List:       kde-commits
Subject:    kdeutils/kregexpeditor
From:       Laurent Montel <montell () club-internet ! fr>
Date:       2003-01-08 13:55:34
[Download RAW message or body]

CVS commit by mlaurent: 

Fix crash when object selected is null


  M +30 -28    editorwindow.cpp   1.23


--- kdeutils/kregexpeditor/editorwindow.cpp  #1.22:1.23
@@ -81,4 +81,6 @@ void RegExpEditorWindow::mouseMoveEvent 
         if ( ( _start - event->pos() ).manhattanLength() > QApplication::startDragDistance() ) {
             RegExp* regexp = _top->selection();
+            if ( !regexp )
+                return;
             QDragObject *d = new RegExpWidgetDrag( regexp, this );
             delete regexp;


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

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