summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
-rw-r--r--src/corelib/thread/qthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp
index e0d252b8ee..2f6a7a18ba 100644
--- a/src/corelib/thread/qthread.cpp
+++ b/src/corelib/thread/qthread.cpp
@@ -895,7 +895,7 @@ bool QThread::isRunning() const
}
// No threads: so we can just use static variables
-static QThreadData *data = 0;
+static QThreadData *data = nullptr;
QThreadData *QThreadData::current(bool createIfNecessary)
{