summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlogging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
-rw-r--r--src/corelib/global/qlogging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp
index 55dadf4d6f9..8d0509795a0 100644
--- a/src/corelib/global/qlogging.cpp
+++ b/src/corelib/global/qlogging.cpp
@@ -2272,7 +2272,7 @@ void qErrnoWarning(int code, const char *msg, ...)
Here is an example of a message handler that logs to a local file
before calling the default handler:
- \snippet code/src_corelib_global_qglobal.cpp 23
+ \snippet code/src_corelib_global_qglobal_widgets.cpp 2
Note that the C++ standard guarantees that \c{static FILE *f} is
initialized in a thread-safe way. We can also expect \c{fprintf()}