src/demo.cpp

changeset 17
b41d74bacdea
parent 15
3d3e5f0fc4cc
child 18
6bf57b4f42cd
equal deleted inserted replaced
16:a8c78391e414 17:b41d74bacdea
36 36
37 for (const qchar& c : in) { 37 for (const qchar& c : in) {
38 if (skip-- > 0) 38 if (skip-- > 0)
39 continue; 39 continue;
40 40
41 #if (QT_VERSION >= QT_VERSION_CHECK (5, 0, 0)) 41 if (c.toLatin1() == '\034') {
42 if (c.toLatin1() == '\034')
43 #else
44 if (c.toAscii() == '\034')
45 #endif // QT_VERSION
46 {
47 skip = 1; 42 skip = 1;
48 continue; 43 continue;
49 } 44 }
50 45
51 out += c; 46 out += c;

mercurial