diff options
Diffstat (limited to 'lumina-desktop/desktop-plugins')
-rw-r--r-- | lumina-desktop/desktop-plugins/LDPluginContainer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPluginContainer.h b/lumina-desktop/desktop-plugins/LDPluginContainer.h index 14b87585..04ae8262 100644 --- a/lumina-desktop/desktop-plugins/LDPluginContainer.h +++ b/lumina-desktop/desktop-plugins/LDPluginContainer.h @@ -122,12 +122,12 @@ protected: if( !this->whatsThis().isEmpty() && !locked){ //Plugin removed by the user - delete the settings file locked = true; //ensure that the save settings routines don't do anything during the close - if(syncTimer->isActive()){ syncTimer->stop(); } //prevent save routine from running in a moment - QFile::remove( settings->fileName() ); + //QFile::remove( settings->fileName() ); emit PluginRemoved( this->whatsThis() ); } + if(syncTimer->isActive()){ syncTimer->stop(); } //prevent save routine from running in a moment settings = 0; //ensure we don't touch the settings file after a close event - event->accept(); + QMdiSubWindow::closeEvent(event); //continue closing this window } }; |