Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f2b43958 authored by Thomas Eschenbacher's avatar Thomas Eschenbacher

let remaining cleanup handlers a chance to run in destructor of Kwave::App

made slot PluginManager::pluginClosed private
parent e0866b47
......@@ -120,6 +120,9 @@ Kwave::App::~App()
{
saveRecentFiles();
m_recent_files.clear();
// let remaining cleanup handlers run (deferred delete)
processEvents(QEventLoop::ExcludeUserInputEvents);
}
//***************************************************************************
......
......@@ -291,12 +291,6 @@ namespace Kwave
*/
void signalClosed();
/**
* Will be connected to the plugin's "closed" signal.
* @param p pointer to the plugin to be closed
*/
void pluginClosed(Kwave::Plugin *p);
/**
* Called if the name of the current signal has changed. This will be
* forwarded to all plugins by emitting the signal sigSignalNameChanged.
......@@ -306,6 +300,12 @@ namespace Kwave
private slots:
/**
* Will be connected to the plugin's "closed" signal.
* @param p pointer to the plugin to be closed
*/
void pluginClosed(Kwave::Plugin *p);
/** called when a plugin has started (running) it's worker thread */
void pluginStarted(Kwave::Plugin *p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment