summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/painting/qunifiedtoolbarsurface_mac.cpp5
-rw-r--r--src/gui/painting/qunifiedtoolbarsurface_mac_p.h1
2 files changed, 0 insertions, 6 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
diff --git a/src/gui/painting/qunifiedtoolbarsurface_mac_p.h b/src/gui/painting/qunifiedtoolbarsurface_mac_p.h
index 6e40a17..54f0f8e 100644
--- a/src/gui/painting/qunifiedtoolbarsurface_mac_p.h
+++ b/src/gui/painting/qunifiedtoolbarsurface_mac_p.h
@@ -82,7 +82,6 @@ public:
void setGeometry(const QRect &rect);
void beginPaint(const QRegion &rgn);
void insertToolbar(QWidget *toolbar, const QPoint &offset);
- void updateRedirection(QWidget *widget);
void updateToolbarOffset(QWidget *widget);
QPaintDevice *paintDevice();