[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/cervisia
From: Mario Scalas <mario.scalas () libero ! it>
Date: 2003-08-28 15:28:03
[Download RAW message or body]
CVS commit by marios:
fixed crash due to not close()-ing the KPart before deleting it ;-)
M +2 -0 cervisia_plugin.cpp 1.2
--- kdevelop/parts/cervisia/cervisia_plugin.cpp #1.1.1.1:1.2
@@ -67,4 +67,5 @@ CervisiaPlugin::~CervisiaPlugin()
mainWindow()->removeView( m_part->widget() );
mainWindow()->main()->guiFactory()->removeClient( m_part );
+ m_part->closeURL();
delete m_part;
}
@@ -90,4 +91,5 @@ void CervisiaPlugin::slotProjectClosed()
// Remove the KPart's GUI since I see no way on how to tell to cervisiapart "deactivate!" ;-)
+ m_part->closeURL();
mainWindow()->removeView( m_part->widget() );
mainWindow()->main()->guiFactory()->removeClient( m_part );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic