diff options
author | kh1 <qt-info@nokia.com> | 2010-01-19 11:55:45 (GMT) |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2010-01-19 12:01:39 (GMT) |
commit | b80ac6d798577286829154388ac86f4cf0845e19 (patch) | |
tree | b703a71edeb2e6277467c87f56941a40f723be3e /tools/assistant | |
parent | 61ce98e3af8f0acdb011e87e281a1440fa7817a7 (diff) | |
download | Qt-b80ac6d798577286829154388ac86f4cf0845e19.zip Qt-b80ac6d798577286829154388ac86f4cf0845e19.tar.gz Qt-b80ac6d798577286829154388ac86f4cf0845e19.tar.bz2 |
Force the creation of the default collection file directory.
Fixes error message after starting on a clean working system.
Diffstat (limited to 'tools/assistant')
-rw-r--r-- | tools/assistant/tools/assistant/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/assistant/tools/assistant/mainwindow.cpp b/tools/assistant/tools/assistant/mainwindow.cpp index 4e10cba..ac33fc5 100644 --- a/tools/assistant/tools/assistant/mainwindow.cpp +++ b/tools/assistant/tools/assistant/mainwindow.cpp @@ -1132,7 +1132,8 @@ QString MainWindow::collectionFileDirectory(bool createDir, const QString &cache QString MainWindow::defaultHelpCollectionFileName() { TRACE_OBJ - return collectionFileDirectory() + QDir::separator() + + // forces creation of the default collection file path + return collectionFileDirectory(true) + QDir::separator() + QString(QLatin1String("qthelpcollection_%1.qhc")). arg(QLatin1String(QT_VERSION_STR)); } |