diff --git a/src/tools/rcc/main.cpp b/src/tools/rcc/main.cpp index 0c3290b34b8..be205d47f1e 100644 --- a/src/tools/rcc/main.cpp +++ b/src/tools/rcc/main.cpp @@ -357,8 +357,7 @@ int runRcc(int argc, char *argv[]) // Make sure QIODevice does not do LF->CRLF, // otherwise we'll end up in CRCRLF instead of // CRLF. - if (list) - mode &= ~QIODevice::Text; + mode &= ~QIODevice::Text; #endif // Q_OS_WIN // using this overload close() only flushes. out.open(stdout, mode);