mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Fix weak vtables
This commit is contained in:
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CDbMappingComponentAware
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
//! Set the corresponding component
|
||||
virtual void setMappingComponent(CDbMappingComponent *component);
|
||||
|
||||
@@ -35,6 +37,9 @@ namespace BlackGui
|
||||
//! Constructor
|
||||
CDbMappingComponentAware(QObject *parent);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CDbMappingComponentAware() {}
|
||||
|
||||
private :
|
||||
CDbMappingComponent *m_mappingComponent = nullptr; //!< reference to component
|
||||
};
|
||||
|
||||
@@ -63,6 +63,9 @@ namespace BlackGui
|
||||
//! \remarks Normally the info area will be provided later \sa setParentDockWidgetInfoArea
|
||||
CEnableForDockWidgetInfoArea(CDockWidgetInfoArea *parentInfoArea = nullptr);
|
||||
|
||||
// Destructor
|
||||
virtual ~CEnableForDockWidgetInfoArea() {}
|
||||
|
||||
private:
|
||||
BlackGui::CDockWidgetInfoArea *m_parentDockableInfoArea = nullptr; //!< my parent dockable widget
|
||||
BlackMisc::CConnectionGuard m_connections;
|
||||
|
||||
Reference in New Issue
Block a user