mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Dtor in view base
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user