CResourceTableContextMenu: Make use of in-class initializers where applicable
This commit is contained in:
parent
57072ffeb4
commit
298e9b501c
|
@ -12,8 +12,6 @@ CResourceTableContextMenu::CResourceTableContextMenu(CResourceBrowser *pBrowser,
|
|||
, mpTable(pView)
|
||||
, mpModel(pModel)
|
||||
, mpProxy(pProxy)
|
||||
, mpClickedEntry(nullptr)
|
||||
, mpClickedDirectory(nullptr)
|
||||
{
|
||||
// Connect to the view
|
||||
connect(pView, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(ShowMenu(QPoint)));
|
||||
|
|
|
@ -19,8 +19,8 @@ class CResourceTableContextMenu : public QMenu
|
|||
QModelIndexList mSelectedIndexes;
|
||||
QModelIndex mClickedIndex;
|
||||
QModelIndex mClickedProxyIndex;
|
||||
CResourceEntry *mpClickedEntry;
|
||||
CVirtualDirectory *mpClickedDirectory;
|
||||
CResourceEntry *mpClickedEntry = nullptr;
|
||||
CVirtualDirectory *mpClickedDirectory = nullptr;
|
||||
|
||||
public:
|
||||
CResourceTableContextMenu(CResourceBrowser *pBrowser, QTableView *pView, CResourceTableModel *pModel, CResourceProxyModel *pProxy);
|
||||
|
|
Loading…
Reference in New Issue