diff options
author | Sarah Smith <sarah.j.smith@nokia.com> | 2011-06-30 17:31:24 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-05 01:02:36 +0200 |
commit | ed3d5c56b4192c7d8f695d448662dbca0816bff4 (patch) | |
tree | a4eed229da1586359a33ed24e97dfce2a290ccc3 /tests | |
parent | 8e094571c98eae724f310122f43e146574905a02 (diff) |
Trade fprintf(stderr... for qWarning
On windows the qWarning is magically visible in the Qt Creator output window
but fprintf is not.
Change-Id: If89ddac204b476abf2a1514d52771156ce3eea9a
Reviewed-on: http://codereview.qt.nokia.com/1112
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml3d/tst_qml3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml3d/tst_qml3d.cpp b/tests/auto/qml3d/tst_qml3d.cpp index 9310fbc64..5ea31047e 100644 --- a/tests/auto/qml3d/tst_qml3d.cpp +++ b/tests/auto/qml3d/tst_qml3d.cpp @@ -353,7 +353,7 @@ int main(int argc, char *argv[]) QString fname = line.mid(pos + 9); // "function".length pos = fname.indexOf("()"); fname.truncate(pos + 2); - fprintf(stderr, " %s\n", qPrintable(fname)); + qWarning(" %s\n", qPrintable(fname)); } } } |