summaryrefslogtreecommitdiff
path: root/src/plugins/clangtools
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-03-21 08:09:35 +0100
committerhjk <hjk@qt.io>2019-09-11 06:03:40 +0000
commite9d8ff21b06d4224765b293de828f2cd1485bf3b (patch)
tree8b0f13027ef806a7f772bb34e6c641c6011fe328 /src/plugins/clangtools
parentbe7c215dd74317e20199ec73e283ca54f4eac20c (diff)
downloadqt-creator-e9d8ff21b06d4224765b293de828f2cd1485bf3b.tar.gz
Remove unused QObject parent arguments on options pages
In the new plugin setup scheme they are data members of the plugin pimpl and never use the parent. Change-Id: I28fe150393e8159064dcfbd113ce0320af50fd58 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/clangtools')
-rw-r--r--src/plugins/clangtools/clangtoolsplugin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/clangtools/clangtoolsplugin.cpp b/src/plugins/clangtools/clangtoolsplugin.cpp
index 436fc3242a..8fcd5f61b9 100644
--- a/src/plugins/clangtools/clangtoolsplugin.cpp
+++ b/src/plugins/clangtools/clangtoolsplugin.cpp
@@ -61,8 +61,6 @@
#include <QMessageBox>
#include <QMenu>
-#include <QtPlugin>
-
using namespace ProjectExplorer;
namespace ClangTools {
@@ -71,7 +69,7 @@ namespace Internal {
class ClangToolsOptionsPage : public Core::IOptionsPage
{
public:
- explicit ClangToolsOptionsPage()
+ ClangToolsOptionsPage()
{
setId(Constants::SETTINGS_PAGE_ID);
setDisplayName(QCoreApplication::translate(