From 90ae72d852826c9b8a80fbd1eb551dedac655c54 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 26 Aug 2019 08:30:31 +0200 Subject: Doc: Remove 'f.i.' Spell it out, or entirely remove it if it's not necessary. Change-Id: Idc371427e9351d948245ce7b719e3457dfc27845 Reviewed-by: Matthew Woehlke Reviewed-by: Leena Miettinen --- src/corelib/kernel/qobject.cpp | 2 +- src/corelib/text/qregularexpression.cpp | 2 +- src/gui/opengl/qopengldebug.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 9251a3c05f..f62eac61ed 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -4616,7 +4616,7 @@ QDebug operator<<(QDebug dbg, const QObject *o) It works exactly like the Q_NAMESPACE macro. However, the external \c{staticMetaObject} variable that gets defined in the namespace is declared with the supplied \c{EXPORT_MACRO} qualifier. This is - useful f.i. if the object needs to be exported from a dynamic library. + useful if the object needs to be exported from a dynamic library. \sa Q_NAMESPACE, {Creating Shared Libraries} */ diff --git a/src/corelib/text/qregularexpression.cpp b/src/corelib/text/qregularexpression.cpp index 17acd476b2..8d2187eb28 100644 --- a/src/corelib/text/qregularexpression.cpp +++ b/src/corelib/text/qregularexpression.cpp @@ -531,7 +531,7 @@ QT_BEGIN_NAMESPACE optimize the execution of the matching algorithm. The JIT makes extensive usage of self-modifying code, which can lead debugging tools such as Valgrind to crash. You must enable all checks for self-modifying code if - you want to debug programs using QRegularExpression (f.i., see Valgrind's + you want to debug programs using QRegularExpression (for instance, Valgrind's \c{--smc-check} command line option). The downside of enabling such checks is that your program will run considerably slower. diff --git a/src/gui/opengl/qopengldebug.cpp b/src/gui/opengl/qopengldebug.cpp index 9f1bb76869..462a4fdb3b 100644 --- a/src/gui/opengl/qopengldebug.cpp +++ b/src/gui/opengl/qopengldebug.cpp @@ -1807,7 +1807,7 @@ QList QOpenGLDebugLogger::loggedMessages() const \note Message texts are encoded in UTF-8 when they get passed to OpenGL, so their size in bytes does not usually match the amount of UTF-16 code units, - as returned f.i. by QString::length(). (It does if the message contains + as returned, for instance, by QString::length(). (It does if the message contains 7-bit ASCII only data, which is typical for debug messages.) */ qint64 QOpenGLDebugLogger::maximumMessageLength() const -- cgit v1.2.3