aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-06-25 21:22:47 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-28 14:55:52 +0200
commitdfbec73b35cc600be0614081a0ef280d53a1c79e (patch)
tree9cc9a2d1d65d1874d2f9f443e5339e400a2fd7d5 /src/qml/qml/ftw
parent6b48a854888d0cee1c73aa5ec45f1e29e13e6699 (diff)
More correct assertion in QHasheV4String
Change-Id: Id34dcae9c7e52fe0262b4d9480a7307a393226ee Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/ftw')
-rw-r--r--src/qml/qml/ftw/qhashedstring_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/ftw/qhashedstring_p.h b/src/qml/qml/ftw/qhashedstring_p.h
index 8af9e3f5ef..ca95839323 100644
--- a/src/qml/qml/ftw/qhashedstring_p.h
+++ b/src/qml/qml/ftw/qhashedstring_p.h
@@ -1135,7 +1135,7 @@ QHashedV4String::QHashedV4String()
QHashedV4String::QHashedV4String(const QV4::Value &s)
: m_string(s)
{
- Q_ASSERT(!s.toQString().isEmpty());
+ Q_ASSERT(s.isString());
}
QHashedV4String::QHashedV4String(const QHashedV4String &string)