summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpdbreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/assistant/help/qhelpdbreader.cpp')
-rw-r--r--src/assistant/help/qhelpdbreader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/assistant/help/qhelpdbreader.cpp b/src/assistant/help/qhelpdbreader.cpp
index 6262dfed5..ca669cbf1 100644
--- a/src/assistant/help/qhelpdbreader.cpp
+++ b/src/assistant/help/qhelpdbreader.cpp
@@ -546,13 +546,13 @@ QSet<int> QHelpDBReader::indexIds(const QStringList &attributes) const
"a.FilterAttributeId=b.Id AND b.Name='%1'"))
.arg(attributes.at(i)));
}
-
+
if (!m_query->exec(query))
return ids;
while (m_query->next())
ids.insert(m_query->value(0).toInt());
-
+
return ids;
}
@@ -573,7 +573,7 @@ bool QHelpDBReader::createAttributesCache(const QStringList &attributes,
if (m_viewAttributes.count() || needUpdate) {
m_viewAttributes.clear();
- m_indicesCache = indexIds;
+ m_indicesCache = indexIds;
}
foreach (const QString &s, attributes)
m_viewAttributes.insert(s);