make $$relative_path() minimize already relative paths
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Mon, 6 Aug 2012 18:44:10 +0000 (20:44 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Aug 2012 14:40:07 +0000 (16:40 +0200)
commit68cbeb59d9aae4fcf57193093a29feb4423e2b01
tree85f8ab0821e5ff05942da2a6667e68911e322394
parent6e4ed714f120b3064f52af7e36052c89f484a4ad
make $$relative_path() minimize already relative paths

QDir::relativeFilePath() doesn't do anything if the path is already
relative, so make it absolute first to force a re-calculation.

the cleanPath() is gone, as relativeFilePath() already does that.

Change-Id: I8f4d0d839db3fe99a608f70916b4b5bd52c56535
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
qmake/project.cpp