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

List:       kde-commits
Subject:    branches/KDE/3.5/kdewebdev/quanta
From:       Andras Mantia <amantia () kde ! org>
Date:       2008-02-13 11:21:41
Message-ID: 1202901701.953101.18976.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 774500 by amantia:

Fix ugly crash when using XDebug.

 M  +2 -0      components/debugger/dbgp/dbgpnetwork.cpp  
 M  +1 -1      components/debugger/debuggermanager.cpp  
 M  +1 -0      src/quanta.h  


--- branches/KDE/3.5/kdewebdev/quanta/components/debugger/dbgp/dbgpnetwork.cpp #774499:774500
@@ -91,9 +91,11 @@
   if(m_socket)
   {
     m_socket->flush();
+    disconnect(m_socket, SIGNAL(closed()), this, SLOT(slotConnectionClosed()));
     if (m_socket)
       m_socket->close();
     delete m_socket;
+    m_socket = 0L;
   }
 
   // Close the server
--- branches/KDE/3.5/kdewebdev/quanta/components/debugger/debuggermanager.cpp #774499:774500
@@ -597,7 +597,7 @@
   m_currentLine = line;
 
   // No new current position
-  if(filename.isEmpty())
+  if(filename.isEmpty() || quantaApp->previewVisible())
     return true;
 
   // Find new position in editor
--- branches/KDE/3.5/kdewebdev/quanta/src/quanta.h #774499:774500
@@ -171,6 +171,7 @@
   void reparse(bool force);
 
   bool structTreeVisible() const;
+  bool previewVisible() const {return m_previewVisible;}
 
   //return the old Cursor position
   void oldCursorPos(uint &line, uint &col) {line = oldCursorLine; col = oldCursorCol;}
[prev in list] [next in list] [prev in thread] [next in thread] 

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