Make QUuid compile with QT_NO_QUUID_STRING

Task-number: QTBUG-24816

Change-Id: I0cbb0581a1c3abefdde75b7cd45fdafd31640f0d
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
Jeremy Katz 2012-06-18 17:06:13 +02:00 committed by Qt by Nokia
parent 486601fbc4
commit abe4b31713

View File

@ -986,7 +986,7 @@ QUuid QUuid::createUuid()
guid; otherwise returns false.
*/
#ifndef QT_NO_DEBUG_STREAM
#if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_NO_QUUID_STRING)
QDebug operator<<(QDebug dbg, const QUuid &id)
{
dbg.nospace() << "QUuid(" << id.toString() << ')';