CVirtualDirectoryTreeView: Make use of in-class initializers where applicable
This commit is contained in:
parent
041afedea3
commit
75f805f0ff
|
@ -9,13 +9,14 @@ class CVirtualDirectoryTreeView : public QTreeView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
CVirtualDirectoryModel *mpModel;
|
CVirtualDirectoryModel *mpModel = nullptr;
|
||||||
bool mTransferSelectionPostMove;
|
bool mTransferSelectionPostMove = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CVirtualDirectoryTreeView(QWidget *pParent = 0);
|
explicit CVirtualDirectoryTreeView(QWidget *pParent = nullptr);
|
||||||
void dragEnterEvent(QDragEnterEvent *pEvent);
|
|
||||||
void setModel(QAbstractItemModel *pModel);
|
void dragEnterEvent(QDragEnterEvent *pEvent) override;
|
||||||
|
void setModel(QAbstractItemModel *pModel) override;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void OnDirectoryAboutToBeMoved(CVirtualDirectory *pDir);
|
void OnDirectoryAboutToBeMoved(CVirtualDirectory *pDir);
|
||||||
|
|
Loading…
Reference in New Issue