summaryrefslogtreecommitdiffstats
path: root/tools/assistant
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2010-01-19 11:55:45 (GMT)
committerkh1 <qt-info@nokia.com>2010-01-19 12:01:39 (GMT)
commitb80ac6d798577286829154388ac86f4cf0845e19 (patch)
treeb703a71edeb2e6277467c87f56941a40f723be3e /tools/assistant
parent61ce98e3af8f0acdb011e87e281a1440fa7817a7 (diff)
downloadQt-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.cpp3
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));
}