summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qstring/stringbuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/qstring/stringbuilder.cpp')
-rw-r--r--doc/src/snippets/qstring/stringbuilder.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/src/snippets/qstring/stringbuilder.cpp b/doc/src/snippets/qstring/stringbuilder.cpp
index 8ff1dd8..b8acbc1 100644
--- a/doc/src/snippets/qstring/stringbuilder.cpp
+++ b/doc/src/snippets/qstring/stringbuilder.cpp
@@ -49,14 +49,9 @@
//! [0]
//! [3]
- #define QT_USE_FAST_CONCATENATION
+ DEFINES *= QT_USE_QSTRINGBUILDER
//! [3]
-//! [4]
- #define QT_USE_FAST_CONCATENATION
- #define QT_USE_FAST_OPERATOR_PLUS
-//! [4]
-
//! [5]
#include <QStringBuilder>