summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qunifiedtoolbarsurface_mac_p.h
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2010-11-04 13:03:46 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2010-11-04 13:04:11 (GMT)
commitfe5a15fc4248a9258d74eea6f64769a3cb173788 (patch)
treee08cdee07b2b3ec0c341479624ae076a3942e0e3 /src/gui/painting/qunifiedtoolbarsurface_mac_p.h
parent953ff11a1b424dd288b6504c5a6f918acaebaa60 (diff)
downloadQt-fe5a15fc4248a9258d74eea6f64769a3cb173788.zip
Qt-fe5a15fc4248a9258d74eea6f64769a3cb173788.tar.gz
Qt-fe5a15fc4248a9258d74eea6f64769a3cb173788.tar.bz2
Update the offsets of the QToolBars inside
the unified toolbar on Mac OS X. Task-number: QTBUG-12818 Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qunifiedtoolbarsurface_mac_p.h')
-rw-r--r--src/gui/painting/qunifiedtoolbarsurface_mac_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qunifiedtoolbarsurface_mac_p.h b/src/gui/painting/qunifiedtoolbarsurface_mac_p.h
index 4d72ff9..3bc0404 100644
--- a/src/gui/painting/qunifiedtoolbarsurface_mac_p.h
+++ b/src/gui/painting/qunifiedtoolbarsurface_mac_p.h
@@ -85,6 +85,7 @@ public:
private:
QPaintDevice *paintDevice();
+ void updateToolbarOffset(QWidget *widget);
void prepareBuffer(QImage::Format format, QWidget *widget);
void recursiveRedirect(QObject *widget, const QPoint &offset);