diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-08-25 15:43:01 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-28 12:17:45 +0200 |
commit | cb57d36f4559faf63acdca2cfb7b35431b959164 (patch) | |
tree | 6605f7c9c28fdd9cc2bb7c2c729697d47143f05b /src/testlib/qtestlog_p.h | |
parent | 24b99f819cdd78d3e0feee4847e69d62e41fd7ef (diff) |
Make QTest::qWarn() use __FILE__ and __LINE__.
This change makes QTest::qWarn() consistent with similar testlib
functions, which take __FILE__ and __LINE__.
Change-Id: I12977cb30672899ab38877b4a656f0cc0c7ea02c
Reviewed-on: http://codereview.qt-project.org/3559
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib/qtestlog_p.h')
-rw-r--r-- | src/testlib/qtestlog_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestlog_p.h b/src/testlib/qtestlog_p.h index fe37469dc6..692a36a4e6 100644 --- a/src/testlib/qtestlog_p.h +++ b/src/testlib/qtestlog_p.h @@ -77,7 +77,7 @@ public: static int unhandledIgnoreMessages(); static void printUnhandledIgnoreMessages(); - static void warn(const char *msg); + static void warn(const char *msg, const char *file, int line); static void info(const char *msg, const char *file, int line); static void startLogging(); |