summaryrefslogtreecommitdiff
path: root/src/shared/proparser/profileevaluator.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-05-02 14:58:24 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-04 12:03:20 +0200
commit00ec7f5e70b5a944676890dfa8b71c1c725ba39a (patch)
tree92e1d1bc8aeae8a513ce96e523ef5ae7011e007e /src/shared/proparser/profileevaluator.cpp
parent171531fcc92821ce0b5792bc812e47cd46c32dc8 (diff)
downloadqt-creator-00ec7f5e70b5a944676890dfa8b71c1c725ba39a.tar.gz
ProFileEvaluator::Private needs no q pointer
Change-Id: I946f3ebe9fde342fed4648cbbf0d0872d48572da Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/shared/proparser/profileevaluator.cpp')
-rw-r--r--src/shared/proparser/profileevaluator.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/shared/proparser/profileevaluator.cpp b/src/shared/proparser/profileevaluator.cpp
index c88c07a949..bf0b5a26f8 100644
--- a/src/shared/proparser/profileevaluator.cpp
+++ b/src/shared/proparser/profileevaluator.cpp
@@ -215,12 +215,10 @@ class ProFileEvaluator::Private
{
public:
static void initStatics();
- Private(ProFileEvaluator *q_, ProFileOption *option, ProFileParser *parser,
+ Private(ProFileOption *option, ProFileParser *parser,
ProFileEvaluatorHandler *handler);
~Private();
- ProFileEvaluator *q;
-
enum VisitReturn {
ReturnFalse,
ReturnTrue,
@@ -539,9 +537,9 @@ const ProString &ProFileEvaluator::Private::map(const ProString &var)
}
-ProFileEvaluator::Private::Private(ProFileEvaluator *q_, ProFileOption *option,
+ProFileEvaluator::Private::Private(ProFileOption *option,
ProFileParser *parser, ProFileEvaluatorHandler *handler)
- : q(q_), m_option(option), m_parser(parser), m_handler(handler)
+ : m_option(option), m_parser(parser), m_handler(handler)
{
// So that single-threaded apps don't have to call initialize() for now.
initStatics();
@@ -3402,7 +3400,7 @@ void ProFileEvaluator::initialize()
ProFileEvaluator::ProFileEvaluator(ProFileOption *option, ProFileParser *parser,
ProFileEvaluatorHandler *handler)
- : d(new Private(this, option, parser, handler))
+ : d(new Private(option, parser, handler))
{
}