aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotoolsprojectmanager/makefileparserthread.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2016-02-03 17:21:12 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2016-02-04 10:44:54 +0000
commit063b9775a9d0404cae84417895ccb966750b5b55 (patch)
treed2ca74b7a50f170f9aa7565b65a8dd786a44e31f /src/plugins/autotoolsprojectmanager/makefileparserthread.h
parent9b3016c2e4b0214de41412e8c4f651de70d0bb0b (diff)
Autotools: Modernize
* Use pragma once * Make sure overrides are everywhere * Clean up code here and there * Remove useless code from initializer lists Change-Id: I9c285a803ea36cb32d14b3335757fd4b57f27d02 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/makefileparserthread.h')
-rw-r--r--src/plugins/autotoolsprojectmanager/makefileparserthread.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/autotoolsprojectmanager/makefileparserthread.h b/src/plugins/autotoolsprojectmanager/makefileparserthread.h
index c7e0f60c0f2..9a84740fb70 100644
--- a/src/plugins/autotoolsprojectmanager/makefileparserthread.h
+++ b/src/plugins/autotoolsprojectmanager/makefileparserthread.h
@@ -25,8 +25,7 @@
**
****************************************************************************/
-#ifndef MAKEFILEPARSERTHREAD_H
-#define MAKEFILEPARSERTHREAD_H
+#pragma once
#include "makefileparser.h"
@@ -131,7 +130,7 @@ private:
MakefileParser m_parser; ///< Is not accessible outside the thread
mutable QMutex m_mutex;
- bool m_hasError; ///< Return value for MakefileParserThread::hasError()
+ bool m_hasError = false; ///< Return value for MakefileParserThread::hasError()
QString m_executable; ///< Return value for MakefileParserThread::executable()
QStringList m_sources; ///< Return value for MakefileParserThread::sources()
QStringList m_makefiles; ///< Return value for MakefileParserThread::makefiles()
@@ -143,7 +142,3 @@ private:
} // namespace Internal
} // namespace AutotoolsProjectManager
-
-#endif // MAKEFILEPARSERTHREAD_H
-
-