diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-12-28 20:38:19 -0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-29 22:38:48 +0100 |
commit | 8094c8fe184ae10fe8673bc35a16bfe17b7510ff (patch) | |
tree | 8ce4a0bc4d7474f61a2c64201b1037ae162d5ba5 /tests/auto/corelib/tools/qchar | |
parent | fbfe420aeb03f497edc86b38a00b4c5cdc62cd4c (diff) |
Remove unused function _q_qgraphicsItemSetFlag
Clang reports:
graphicsview/qgraphicsitem.cpp:1779:13: error: function '_q_qgraphicsItemSetFlag' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static void _q_qgraphicsItemSetFlag(QGraphicsItem *item, QGraphicsItem::GraphicsItemFlag flag,
^
According to the public Git history, in Qt 4.5.1 this function was
already unused. The only reason it wasn't caught so far is that it is
recursive: it calls itself. So it is used... by itself.
Change-Id: I6fc6b33cb314b845525dc9315d0ad742e113d5cd
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/corelib/tools/qchar')
0 files changed, 0 insertions, 0 deletions