Mac: Fix mixing unified and non-unified toolbars
authorDavid Garcia <david@aimsun.com>
Wed, 5 Feb 2014 17:49:11 +0000 (18:49 +0100)
committerMorten Johan Sørvig <morten.sorvig@digia.com>
Wed, 18 Jun 2014 10:26:24 +0000 (12:26 +0200)
commite66dd978999358efdb4d3edcc89b0455194c4ae1
tree5be39131ca50c1ad2ba348d41db8b99833f73112
parent753321eb459d2c988d66cc6c8905d75a0ba769bb
Mac: Fix mixing unified and non-unified toolbars

Test if the target toolbar is actually a unified
toolbar before calling the special MapFromParent
function.

This change is not needed in Qt 5.

Task-number: QTBUG-36100
Change-Id: I37fce89c79f5fce057e0b31d4c4f2e72269cdb06
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/gui/kernel/qwidget.cpp