aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/filepath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/utils/filepath.cpp')
-rw-r--r--src/libs/utils/filepath.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libs/utils/filepath.cpp b/src/libs/utils/filepath.cpp
index 57cafaba17..1680f9483e 100644
--- a/src/libs/utils/filepath.cpp
+++ b/src/libs/utils/filepath.cpp
@@ -586,7 +586,7 @@ static FilePaths appendExeExtensions(const Environment &env, const FilePath &exe
const QStringList extensions = env.expandedValueForKey("PATHEXT").split(';');
for (const QString &ext : extensions)
- execs << executable + ext.toLower();
+ execs << executable.stringAppended(ext.toLower());
}
}
return execs;
@@ -971,11 +971,6 @@ bool FilePath::operator>=(const FilePath &other) const
return !(*this < other);
}
-FilePath FilePath::operator+(const QString &s) const
-{
- return stringAppended(s);
-}
-
/// \returns whether FilePath is a child of \a s
bool FilePath::isChildOf(const FilePath &s) const
{