Fix compilation error (OS X 10.8, warnings as errors)

Failed to compile on my OS X 10.8 (unused variable warning treated as error)

Change-Id: I7ee881d4b905539361a10e93cff76b44ec08afbf
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
This commit is contained in:
Timur Pocheptsov 2015-04-14 10:22:25 +02:00
parent 5e8e04a29f
commit c52c8e5e1e

View File

@ -11290,7 +11290,7 @@ static void formatGraphicsItemHelper(QDebug debug, const QGraphicsItem *item)
debug << ", pos=";
QtDebugUtils::formatQPoint(debug, item->pos());
if (const qreal z = item->zValue())
debug << ", z=" << item->zValue();
debug << ", z=" << z;
if (item->flags())
debug << ", flags=" << item->flags();
}