diff --git a/src/plugins/VerticalTabs/tabtreeview.cpp b/src/plugins/VerticalTabs/tabtreeview.cpp index f06c98cc7..b7a58eb02 100644 --- a/src/plugins/VerticalTabs/tabtreeview.cpp +++ b/src/plugins/VerticalTabs/tabtreeview.cpp @@ -25,9 +25,8 @@ #include #include -#include -TabTreeView::TabTreeView(QWidget* parent) +TabTreeView::TabTreeView(QWidget *parent) : QTreeView(parent) { setDragEnabled(true); diff --git a/src/plugins/VerticalTabs/tabtreeview.h b/src/plugins/VerticalTabs/tabtreeview.h index e9a69cf08..186c8c30a 100644 --- a/src/plugins/VerticalTabs/tabtreeview.h +++ b/src/plugins/VerticalTabs/tabtreeview.h @@ -26,7 +26,7 @@ class TabTreeView : public QTreeView Q_OBJECT public: - explicit TabTreeView(QWidget *parent = 0); + explicit TabTreeView(QWidget *parent = nullptr); // In TabBar order bool areTabsInOrder() const;