aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp b/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp
index b1219eabe4..cef2f1cecd 100644
--- a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp
+++ b/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp
@@ -143,7 +143,7 @@ void tst_QQmlDebugLocal::sendMessage()
int main(int argc, char *argv[])
{
- fileName = QString::fromLatin1("tst_QQmlDebugLocal%1").arg(time(0));
+ fileName = QString::fromLatin1("tst_QQmlDebugLocal%1").arg(std::time(0));
int _argc = argc + 1;
char **_argv = new char*[_argc];