mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Connection guard (detected during #477)
Disconnects Qt signal/slot conenction when destroyed
This commit is contained in:
committed by
Mathew Sutcliffe
parent
3acf085b92
commit
23856bbc57
@@ -16,7 +16,7 @@
|
||||
#include "blackgui/dockwidgetinfoarea.h"
|
||||
#include "blackgui/infoarea.h"
|
||||
#include "blackgui/enableforframelesswindow.h"
|
||||
#include "blackmisc/qtconnectionlist.h"
|
||||
#include "blackmisc/connectionguard.h"
|
||||
#include <QWidget>
|
||||
|
||||
namespace BlackGui
|
||||
@@ -69,6 +69,7 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
BlackGui::CDockWidgetInfoArea *m_parentDockableInfoArea = nullptr; //!< my parent dockable widget
|
||||
BlackMisc::CConnectionGuard m_connections;
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user