diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-10-16 12:36:16 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2019-01-17 09:53:28 +0000 |
commit | a802a3b6786e8d94b17acbb6d76826eb103e3d15 (patch) | |
tree | 48226fa1103f8679717a3cfb27615b9468e8625f | |
parent | 2ed52386508ae6c674dd58d928cc0cffff98287e (diff) | |
download | qttools-a802a3b6786e8d94b17acbb6d76826eb103e3d15.tar.gz |
Fix fileExists() query
Change-Id: I6f71e5f47f1cb3e22594a7f596292d04c6e2a303
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r-- | src/assistant/help/qhelpcollectionhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assistant/help/qhelpcollectionhandler.cpp b/src/assistant/help/qhelpcollectionhandler.cpp index 32ce01bf0..a3e44816a 100644 --- a/src/assistant/help/qhelpcollectionhandler.cpp +++ b/src/assistant/help/qhelpcollectionhandler.cpp @@ -780,8 +780,8 @@ bool QHelpCollectionHandler::fileExists(const QUrl &url) const if (fileInfo.namespaceName.isEmpty()) return false; - m_query->prepare(QLatin1String("SELECT COUNT (DISTINCT NamespaceTable.Id)" - "FROM" + m_query->prepare(QLatin1String("SELECT COUNT (DISTINCT NamespaceTable.Id) " + "FROM " "FileNameTable, " "NamespaceTable, " "FolderTable " |