diff options
author | Ken Moore <ken@pcbsd.org> | 2015-02-16 08:16:55 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-02-16 08:16:55 -0500 |
commit | bce4b68794a208f390aaf39e5d3483e5d12ac73d (patch) | |
tree | bcbd60332c48d2cbc19f7c40665430e5d0687120 | |
parent | Clean up some plugin interactions (including an OpenBSD crash with desktop pl... (diff) | |
download | lumina-bce4b68794a208f390aaf39e5d3483e5d12ac73d.tar.gz lumina-bce4b68794a208f390aaf39e5d3483e5d12ac73d.tar.bz2 lumina-bce4b68794a208f390aaf39e5d3483e5d12ac73d.zip |
Oops, fix another crash with desktop plugins: forgot to disable the synctimer when the plugin is closed/removed.
-rw-r--r-- | lumina-desktop/desktop-plugins/LDPluginContainer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPluginContainer.h b/lumina-desktop/desktop-plugins/LDPluginContainer.h index 2353995c..55cc9d12 100644 --- a/lumina-desktop/desktop-plugins/LDPluginContainer.h +++ b/lumina-desktop/desktop-plugins/LDPluginContainer.h @@ -118,6 +118,7 @@ protected: if( !this->whatsThis().isEmpty() ){ //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() ); emit PluginRemoved( this->whatsThis() ); } |