diff options
author | Orgad Shaneh <[email protected]> | 2016-02-07 21:59:50 +0200 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2016-02-08 14:49:02 +0000 |
commit | 71166d06d04fcf5de72b28290fc701ca223a082f (patch) | |
tree | 8362c418f824011845cf618daf1b06f5513fda3f /src/plugins/git/gitgrep.h | |
parent | 974070d2c848fd5c8e1798c97662bccbe77b3307 (diff) |
Git: Minor cleanup
* Remove unused includes
* Remove QObject qualification
* Use a raw pointer for widget instead of QPointer. It is owned by GitGrep.
Change-Id: I4e2c9878289ed3491bfd7b0565a683bc01e485f3
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitgrep.h')
-rw-r--r-- | src/plugins/git/gitgrep.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/git/gitgrep.h b/src/plugins/git/gitgrep.h index 67a239bf582..e0a5ea60f1c 100644 --- a/src/plugins/git/gitgrep.h +++ b/src/plugins/git/gitgrep.h @@ -30,9 +30,6 @@ #include <utils/fileutils.h> -#include <QPointer> -#include <QStringListModel> - QT_FORWARD_DECLARE_CLASS(QCheckBox) namespace Git { @@ -56,7 +53,7 @@ public: const TextEditor::FileFindParameters ¶meters) override; private: - QPointer<QCheckBox> m_widget; + QCheckBox *m_widget; }; } // namespace Internal |