summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qpushbutton.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2010-05-20 08:52:16 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-05-20 10:01:51 (GMT)
commit16f44ee07db46ad362a464afc2c6e6567c933870 (patch)
tree9343457968535bd69b96a9e61568b725cd9ff576 /src/gui/widgets/qpushbutton.h
parenta41534cbabd0aee90c38b9a1a133835863a7f54b (diff)
downloadQt-16f44ee07db46ad362a464afc2c6e6567c933870.zip
Qt-16f44ee07db46ad362a464afc2c6e6567c933870.tar.gz
Qt-16f44ee07db46ad362a464afc2c6e6567c933870.tar.bz2
QApplication::closeAllWindows() should ignore windows being closed
It is very common to display a dialog in response to a close event. Closing the window again will result in QWidget::close() returning true. This confuses QApplication::closeAllWindows(), since the window is still visible even though it was closed (or is closing). Solve this by ignoring windows that have the is_closing flag set in their widget data. Task-number: QTBUG-7635 Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'src/gui/widgets/qpushbutton.h')
0 files changed, 0 insertions, 0 deletions