diff options
author | kh1 <qt-info@nokia.com> | 2009-11-19 15:24:09 (GMT) |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2009-11-19 15:33:45 (GMT) |
commit | f3a6686f0784b77b623576248928e7640c5df5f1 (patch) | |
tree | de28ad6c366d751da9905def09bf90373f4f8138 /tools/shared/qtgradienteditor/qtgradientstopswidget.cpp | |
parent | a9c0b9e00f8fee70eef51f14892826c1e7d4a93f (diff) | |
download | Qt-f3a6686f0784b77b623576248928e7640c5df5f1.zip Qt-f3a6686f0784b77b623576248928e7640c5df5f1.tar.gz Qt-f3a6686f0784b77b623576248928e7640c5df5f1.tar.bz2 |
Properly return the absolute file path for help files.
This fixes a bug that can only be seen on windows when we have the
collection storage location on e.g. Drive c:\ while the help files
reside on a different drive.
QHelpEngineCore::registerDocumentation would fail to gather the proper
relative file path, thus register the file with it's absolute path. In
QHelpEngineCore::documentationFileName we still assumed that all files
in the collection are registered relative and fail to concatenate the
proper path. Now we check if the path is already absolute and return.
Reviewed-by: ck
Diffstat (limited to 'tools/shared/qtgradienteditor/qtgradientstopswidget.cpp')
0 files changed, 0 insertions, 0 deletions