summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsscene.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-06-09 14:13:18 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-06-09 14:19:31 (GMT)
commit6185ff436816738e933e3c88d44c45faa7f401f7 (patch)
treebc7c02c0f051568043de78687384fd99f123c4da /src/gui/graphicsview/qgraphicsscene.h
parent03428c4d2905cc73866f1d046b5cc1bedf1c38b3 (diff)
downloadQt-6185ff436816738e933e3c88d44c45faa7f401f7.zip
Qt-6185ff436816738e933e3c88d44c45faa7f401f7.tar.gz
Qt-6185ff436816738e933e3c88d44c45faa7f401f7.tar.bz2
Remove duplicated code for removing an item from the scene.
Before we had almost two identical functions for removing an item from the scene. There was only minor differences depending on whether the item was removed from QGraphicsScene::removeItem or from the item's destructor. Now we have one function that handles both cases just fine. Reviewed-by: Andreas
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.h')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.h b/src/gui/graphicsview/qgraphicsscene.h
index 4c0f2ec..c4c9f9c 100644
--- a/src/gui/graphicsview/qgraphicsscene.h
+++ b/src/gui/graphicsview/qgraphicsscene.h
@@ -275,7 +275,6 @@ private:
Q_DISABLE_COPY(QGraphicsScene)
Q_PRIVATE_SLOT(d_func(), void _q_updateIndex())
Q_PRIVATE_SLOT(d_func(), void _q_emitUpdated())
- Q_PRIVATE_SLOT(d_func(), void _q_removeItemLater(QGraphicsItem *item))
Q_PRIVATE_SLOT(d_func(), void _q_updateLater())
Q_PRIVATE_SLOT(d_func(), void _q_polishItems())
Q_PRIVATE_SLOT(d_func(), void _q_updateSortCache())