summaryrefslogtreecommitdiffstats
path: root/qmake/option.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/option.cpp')
-rw-r--r--qmake/option.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qmake/option.cpp b/qmake/option.cpp
index cb851229b4..d92f3b7ac2 100644
--- a/qmake/option.cpp
+++ b/qmake/option.cpp
@@ -530,15 +530,15 @@ Option::fixString(QString string, uchar flags)
//fix separators
if (flags & Option::FixPathToNormalSeparators) {
- string = string.replace('\\', '/');
+ string.replace('\\', '/');
} else if (flags & Option::FixPathToLocalSeparators) {
#if defined(Q_OS_WIN32)
- string = string.replace('/', '\\');
+ string.replace('/', '\\');
#else
- string = string.replace('\\', '/');
+ string.replace('\\', '/');
#endif
} else if(flags & Option::FixPathToTargetSeparators) {
- string = string.replace('/', Option::dir_sep).replace('\\', Option::dir_sep);
+ string.replace('/', Option::dir_sep).replace('\\', Option::dir_sep);
}
if ((string.startsWith("\"") && string.endsWith("\"")) ||