summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-07-01 09:42:22 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-07-01 09:42:22 (GMT)
commitf79955fc9b250f03d54be3c99b79062368b6273d (patch)
treede23780521b56d29329dc0dc04753baa0db9814c /tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp
parent5057276344a061b7f5553ef3ac12c513ccd9c694 (diff)
downloadQt-f79955fc9b250f03d54be3c99b79062368b6273d.zip
Qt-f79955fc9b250f03d54be3c99b79062368b6273d.tar.gz
Qt-f79955fc9b250f03d54be3c99b79062368b6273d.tar.bz2
Improve QtHelp error reporting.
Reviewed-by: kh <qtc-committer@nokia.com>
Diffstat (limited to 'tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp')
-rw-r--r--tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp b/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp
index b6e726b..c50f48d 100644
--- a/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp
+++ b/tools/assistant/lib/qhelpsearchindexwriter_clucene.cpp
@@ -639,7 +639,7 @@ void QHelpSearchIndexWriter::run()
QFileInfo fInfo(indexPath);
if (fInfo.exists() && !fInfo.isWritable()) {
- qWarning("Full Text Search, could not create index (missing permissions).");
+ qWarning("Full Text Search, could not create index (missing permissions for '%s').", qPrintable(indexPath));
return;
}
@@ -720,7 +720,7 @@ void QHelpSearchIndexWriter::run()
}
#if !defined(QT_NO_EXCEPTIONS)
} catch (...) {
- qWarning("Full Text Search, could not create index writer.");
+ qWarning("Full Text Search, could not create index writer in '%s'.", qPrintable(indexPath));
return;
}
#endif