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