From 67bb2ebbae7cbf08a4689adf7543fc20a04bb2d2 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Mon, 13 Jan 2020 10:54:57 +0100 Subject: [PATCH] Core: remove unneeded Q_OBJECT macro from open editors view Change-Id: Ic2f522e4889fbe47b39971440af6a2b43a4ce3b3 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/editormanager/openeditorsview.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.h b/src/plugins/coreplugin/editormanager/openeditorsview.h index f50a50e3dd5..4e9f9d1b587 100644 --- a/src/plugins/coreplugin/editormanager/openeditorsview.h +++ b/src/plugins/coreplugin/editormanager/openeditorsview.h @@ -37,7 +37,6 @@ namespace Internal { class ProxyModel : public QAbstractProxyModel { - Q_OBJECT public: explicit ProxyModel(QObject *parent = nullptr); QModelIndex mapFromSource(const QModelIndex & sourceIndex) const override; @@ -65,8 +64,7 @@ private: class OpenEditorsWidget : public OpenDocumentsTreeView { - Q_OBJECT - + Q_DECLARE_TR_FUNCTIONS(OpenEditorsWidget) public: OpenEditorsWidget(); ~OpenEditorsWidget() override; @@ -83,8 +81,6 @@ private: class OpenEditorsViewFactory : public INavigationWidgetFactory { - Q_OBJECT - public: OpenEditorsViewFactory();