diff options
author | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2015-04-14 10:22:25 +0200 |
---|---|---|
committer | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2015-04-16 12:14:13 +0000 |
commit | c52c8e5e1e3482e144279d8f85df06f6c3597041 (patch) | |
tree | b58ab29a4a9bb5e11bf1c110d304bd792fe6c26a | |
parent | 5e8e04a29ff15e8b329c758f2ea62b8e6feb70f9 (diff) |
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>
-rw-r--r-- | src/widgets/graphicsview/qgraphicsitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/graphicsview/qgraphicsitem.cpp b/src/widgets/graphicsview/qgraphicsitem.cpp index eaa5cb99e4..cd30410097 100644 --- a/src/widgets/graphicsview/qgraphicsitem.cpp +++ b/src/widgets/graphicsview/qgraphicsitem.cpp @@ -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(); } |