summaryrefslogtreecommitdiffstats
path: root/src/testlib/qabstracttestlogger_p.h
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-09-01 18:24:55 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-02 06:16:11 +0200
commitf1af291d4901e503f7c8098c55393ac756f032f1 (patch)
treed32a8ee935e19e2ca9a551acb0e9b8a3e066f605 /src/testlib/qabstracttestlogger_p.h
parent592d53a17c2d19d5b33e3d4b4cd4386110e9196b (diff)
Remove circular dependency in testlib logging
Remove one of the circular dependencies between QPlainTestLogger and QTestLog by directly checking whether we're writing to stdout rather than inferring the same by examining whether the output file name is null. Change-Id: I798288482c9e2e071e17a8622e8a8f8d5016dc7e Reviewed-on: http://codereview.qt.nokia.com/4052 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib/qabstracttestlogger_p.h')
-rw-r--r--src/testlib/qabstracttestlogger_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qabstracttestlogger_p.h b/src/testlib/qabstracttestlogger_p.h
index 3ac6787754..47f772e7ed 100644
--- a/src/testlib/qabstracttestlogger_p.h
+++ b/src/testlib/qabstracttestlogger_p.h
@@ -98,7 +98,7 @@ public:
void outputString(const char *msg);
-private:
+protected:
FILE *stream;
};