summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2011-02-08 09:35:08 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2011-02-08 09:37:00 (GMT)
commit988d67957fdb7f5b50c8bff6c70e2ae299f7744c (patch)
tree8846fe1061825bf28b183c48d1d1f5537e181aba /src/gui/painting/qunifiedtoolbarsurface_mac.cpp
parent5aa2ea5ef204caee97de1b9ea6533a5382075147 (diff)
downloadQt-988d67957fdb7f5b50c8bff6c70e2ae299f7744c.zip
Qt-988d67957fdb7f5b50c8bff6c70e2ae299f7744c.tar.gz
Qt-988d67957fdb7f5b50c8bff6c70e2ae299f7744c.tar.bz2
Remove useless function.
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qunifiedtoolbarsurface_mac.cpp')
-rw-r--r--src/gui/painting/qunifiedtoolbarsurface_mac.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
index 5f52679..36b3e6a 100644
--- a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
+++ b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
@@ -92,11 +92,6 @@ void QUnifiedToolbarSurface::recursiveRedirect(QObject *object, const QPoint &of
}
}
-void QUnifiedToolbarSurface::updateRedirection(QWidget *widget)
-{
- recursiveRedirect(widget, widget->d_func()->toolbar_offset);
-}
-
void QUnifiedToolbarSurface::insertToolbar(QWidget *toolbar, const QPoint &offset)
{
setGeometry(QRect(QPoint(0, 0), QSize(offset.x() + toolbar->width(), 100))); // FIXME