summaryrefslogtreecommitdiffstats
path: root/tools/assistant
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-22 09:38:06 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-02-22 09:41:51 (GMT)
commit10bec2ab7be43f4a8507901fc9eeecf0b33af5a1 (patch)
treee4599b83edb19067102e1fd3c7d28f130be44d17 /tools/assistant
parent1ecfec9950fb66378035f92be8c8b13b1b891872 (diff)
downloadQt-10bec2ab7be43f4a8507901fc9eeecf0b33af5a1.zip
Qt-10bec2ab7be43f4a8507901fc9eeecf0b33af5a1.tar.gz
Qt-10bec2ab7be43f4a8507901fc9eeecf0b33af5a1.tar.bz2
Fix compilation
With the QT_USE_OPERATOR_PLUS, we need to cast before converting to QVariant
Diffstat (limited to 'tools/assistant')
-rw-r--r--tools/assistant/lib/qhelpdbreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/lib/qhelpdbreader.cpp b/tools/assistant/lib/qhelpdbreader.cpp
index 6dd949a..5c0f595 100644
--- a/tools/assistant/lib/qhelpdbreader.cpp
+++ b/tools/assistant/lib/qhelpdbreader.cpp
@@ -205,7 +205,7 @@ QByteArray QHelpDBReader::fileData(const QString &virtualFolder,
"NamespaceTable d WHERE a.Id=b.FileId AND (b.Name=? OR b.Name=?) AND b.FolderId=c.Id "
"AND c.Name=? AND c.NamespaceId=d.Id AND d.Name=?"));
m_query->bindValue(0, filePath);
- m_query->bindValue(1, QLatin1String("./") + filePath);
+ m_query->bindValue(1, QString(QLatin1String("./") + filePath));
m_query->bindValue(2, virtualFolder);
m_query->bindValue(3, m_namespace);
m_query->exec();