More correct assertion in QHasheV4String

Change-Id: Id34dcae9c7e52fe0262b4d9480a7307a393226ee
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
This commit is contained in:
Lars Knoll 2013-06-25 21:22:47 +02:00 committed by The Qt Project
parent 6b48a85488
commit dfbec73b35
1 changed files with 1 additions and 1 deletions

View File

@ -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)