Dtor in view base

This commit is contained in:
Klaus Basan
2018-01-20 17:05:00 +01:00
parent dac1ee85f9
commit 5d56c295f8
2 changed files with 7 additions and 2 deletions

View File

@@ -132,9 +132,11 @@ namespace BlackGui
deleteRow->setObjectName("Delete selected rows for " + this->objectName()); deleteRow->setObjectName("Delete selected rows for " + this->objectName());
QShortcut *copy = new QShortcut(CShortcut::keyCopy(), this, SLOT(ps_copy()), nullptr, Qt::WidgetShortcut); QShortcut *copy = new QShortcut(CShortcut::keyCopy(), this, SLOT(ps_copy()), nullptr, Qt::WidgetShortcut);
copy->setObjectName("Copy rows for " + this->objectName()); copy->setObjectName("Copy rows for " + this->objectName());
}
// Font menus CViewBaseNonTemplate::~CViewBaseNonTemplate()
// m_fontMenu = new CFontMenu(this, true); {
// dtor
} }
bool CViewBaseNonTemplate::setParentDockWidgetInfoArea(CDockWidgetInfoArea *parentDockableWidget) bool CViewBaseNonTemplate::setParentDockWidgetInfoArea(CDockWidgetInfoArea *parentDockableWidget)

View File

@@ -363,6 +363,9 @@ namespace BlackGui
//! Constructor //! Constructor
CViewBaseNonTemplate(QWidget *parent); CViewBaseNonTemplate(QWidget *parent);
//! Destructor
virtual ~CViewBaseNonTemplate();
//! Method creating the menu //! Method creating the menu
//! \remarks override this method to contribute to the menu //! \remarks override this method to contribute to the menu
//! \sa BlackGui::Views::CViewBaseNonTemplate::ps_customMenuRequested //! \sa BlackGui::Views::CViewBaseNonTemplate::ps_customMenuRequested