summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/qhelpsearchquerywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/assistant/lib/qhelpsearchquerywidget.cpp')
-rw-r--r--tools/assistant/lib/qhelpsearchquerywidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/lib/qhelpsearchquerywidget.cpp b/tools/assistant/lib/qhelpsearchquerywidget.cpp
index 9ac4a7d..361e9ac 100644
--- a/tools/assistant/lib/qhelpsearchquerywidget.cpp
+++ b/tools/assistant/lib/qhelpsearchquerywidget.cpp
@@ -229,7 +229,7 @@ private:
const QList<QHelpSearchQuery> &query =
queryHist->queries.at(queryHist->curQuery);
foreach (const QHelpSearchQuery &queryPart, query) {
- QLineEdit *lineEdit;
+ QLineEdit *lineEdit = 0;
switch (queryPart.fieldName) {
case QHelpSearchQuery::DEFAULT:
lineEdit = defaultQuery;