aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw
diff options
context:
space:
mode:
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)