Commit 841d5a99 authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix FileName::appendPath (and through that Qt abi detection on Mac)



appendPath was actually not ensuring a '/' between the parts, contrary
to what it claimed.

Change-Id: I80b703160fc05c099db9b461366c91a55525038b
Reviewed-by: default avatarCasper van Donderen <casper.vandonderen@nokia.com>
parent 075c598f
......@@ -532,7 +532,7 @@ FileName FileName::relativeChildPath(const FileName &parent) const
/// Appends \a s, ensuring a / between the parts
FileName &FileName::appendPath(const QString &s)
{
if (QString::endsWith(QLatin1Char('/')))
if (!QString::endsWith(QLatin1Char('/')))
append(QLatin1Char('/'));
append(s);
return *this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment