summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontmetrics.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-06-04 16:02:06 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-06-24 15:43:58 +0000
commitec8c1dcf147ac71ea3c0105d67c2575ab733d348 (patch)
treec7e9f264ee899779d154e3bb0afc3871f61c60d4 /src/gui/text/qfontmetrics.cpp
parent0e41a58fb8f15a9a0790db2f33efe32d3c227bc2 (diff)
Make QDir::relativeFilePath() return "." for a path to itself.
The rationale being that the empty string is not a valid path component. [ChangeLog][QtCore][QDir] QDir::relativeFilePath() now returns "." instead of an empty string if the given path is the same as the directory. Change-Id: Ibcf31904b2ae5edf5639d4c2e5ba234365d347fd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/gui/text/qfontmetrics.cpp')
0 files changed, 0 insertions, 0 deletions