Fix weak vtables

This commit is contained in:
Roland Winklmeier
2018-08-24 15:25:47 +02:00
parent 4cf3bc580f
commit 5e38936fd2
30 changed files with 133 additions and 8 deletions

View File

@@ -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
};

View File

@@ -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;