summaryrefslogtreecommitdiffstats
path: root/src/tools/qstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qstring.cpp')
-rw-r--r--src/tools/qstring.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tools/qstring.cpp b/src/tools/qstring.cpp
index 27bdf31d8..9c205e950 100644
--- a/src/tools/qstring.cpp
+++ b/src/tools/qstring.cpp
@@ -2081,13 +2081,10 @@ static ArgEscapeData findArgEscapes(const TQString &s)
d.locale_occurrences = 0;
}
-#if TQT_VERSION < 0x040000
- // ### remove preprocessor in TQt 4.0
- /* Since in TQt < 4.0 only the first instance is replaced,
+ /* Only the first instance is replaced,
escape_len should hold the length of only the first escape
sequence */
if (d.occurrences == 0)
-#endif
{
++d.occurrences;
if (locale_arg) {