Commit 573949bd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: do not leak ActionsManager on exit.

parent 3845e9e2
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "main_interface.hpp" #include "main_interface.hpp"
#include "input_manager.hpp" #include "input_manager.hpp"
#include "actions_manager.hpp"
#include "util/customwidgets.hpp" #include "util/customwidgets.hpp"
#include "util/qt_dirs.hpp" #include "util/qt_dirs.hpp"
...@@ -249,6 +250,8 @@ MainInterface::~MainInterface() ...@@ -249,6 +250,8 @@ MainInterface::~MainInterface()
delete playlistWidget; delete playlistWidget;
} }
ActionsManager::killInstance();
settings->beginGroup( "MainWindow" ); settings->beginGroup( "MainWindow" );
settings->setValue( "pl-dock-status", (int)i_pl_dock ); settings->setValue( "pl-dock-status", (int)i_pl_dock );
......
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