summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 16:58:45 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 16:58:45 (GMT)
commit6462303c56349045ce4a9517a7882215b2da929e (patch)
tree69e3c21a2bbae2cb1180f2b5f32913e088f5dfa9 /examples
parentb111d0bb1f0483d507c758810a0f247cb8dd82c0 (diff)
downloadQt-6462303c56349045ce4a9517a7882215b2da929e.zip
Qt-6462303c56349045ce4a9517a7882215b2da929e.tar.gz
Qt-6462303c56349045ce4a9517a7882215b2da929e.tar.bz2
fix crash in QWidgetPrivate::screenGeometry
Missing null check added. Not really a Windows CE only crash. The following code crashed on all platforms, because the QGraphicsProxyWidget had no scene yet. QPushButton *button = new QPushButton; QGraphicsProxyWidget *buttonProxy = new QGraphicsProxyWidget; buttonProxy->setWidget(button); qApp->desktop()->screenGeometry(button); Task-number: QTBUG-5626 Reviewed-by: Alessandro Portale
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions