diff options
author | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-04-08 06:57:16 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-04-08 07:22:38 (GMT) |
commit | ccaf16278f4fd422458d01b80579952846e6cf38 (patch) | |
tree | 263c45b2e723bdfe9c2dee04778bad548fb748a5 /demos | |
parent | f0239a4983dd84b0e23c1e6f796c5c44dfde26b2 (diff) | |
download | Qt-ccaf16278f4fd422458d01b80579952846e6cf38.zip Qt-ccaf16278f4fd422458d01b80579952846e6cf38.tar.gz Qt-ccaf16278f4fd422458d01b80579952846e6cf38.tar.bz2 |
BT: Revert "Fixes: Remove warnings in the embeddeddialogs demo."
This reverts commit 7d24c0af8e52687b4e5735950495bb25947ca9f0.
This change removed the accidental recursion leading to console
warnings on Mac OS X by changing the way the scene event filter
is registered for popups. But it also broke the behavior of the
demo with regards to popup handling, in that the custom proxy
no longer can detect popups that close, so dialogs stay zoomed
in after the cursor has left. So before, the demo worked but
printed warnings to the console on Mac OS X, and after, the warnings
were gone but the demo behavior broke on all platforms...
The change also accidentally removed the cache mode from the popup;
I don't think this was intentional.
Reviewed-by: Alexis
Diffstat (limited to 'demos')
-rw-r--r-- | demos/embeddeddialogs/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/demos/embeddeddialogs/main.cpp b/demos/embeddeddialogs/main.cpp index 4cf7325..cfb31c4 100644 --- a/demos/embeddeddialogs/main.cpp +++ b/demos/embeddeddialogs/main.cpp @@ -68,7 +68,6 @@ int main(int argc, char *argv[]) proxy->setCacheMode(QGraphicsItem::DeviceCoordinateCache); scene.addItem(proxy); - proxy->installSceneEventFilter(proxy); } } scene.setSceneRect(scene.itemsBoundingRect()); |