diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-02-02 18:26:51 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-02-03 08:29:08 +0000 |
commit | f4296d7504e87d291232bc13caa99a439d2393ab (patch) | |
tree | 66892ae3ded5333a7036401031effaf228921d3a /src/plugins/projectexplorer/applicationlauncher.h | |
parent | 6a3e687d140cad3dec006b2d5fa8982d4b10f31c (diff) |
ProjectExplorer: Modernize
* Use override where appropriate
* Use pragma once
* Make more constructors explicit
Change-Id: I2865fe10f288e3de570826058e43b70a0cb4ee37
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r-- | src/plugins/projectexplorer/applicationlauncher.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h index f36ea7ab26..06820b7f6c 100644 --- a/src/plugins/projectexplorer/applicationlauncher.h +++ b/src/plugins/projectexplorer/applicationlauncher.h @@ -23,8 +23,7 @@ ** ****************************************************************************/ -#ifndef APPLICATIONLAUNCHER_H -#define APPLICATIONLAUNCHER_H +#pragma once #include "projectexplorer_export.h" @@ -49,7 +48,7 @@ public: }; explicit ApplicationLauncher(QObject *parent = 0); - ~ApplicationLauncher(); + ~ApplicationLauncher() override; void setProcessChannelMode(QProcess::ProcessChannelMode mode); void start(const ProjectExplorer::StandardRunnable &runnable); @@ -85,5 +84,3 @@ private: }; } // namespace ProjectExplorer - -#endif // APPLICATIONLAUNCHER_H |