summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtest.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-01-05 12:42:49 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-01-05 14:07:31 (GMT)
commitf72165460d27860cabd51691f4d935fd74b50f80 (patch)
tree1eae05a6345264cbce7f42b58c1f1457fe7d7aa5 /src/testlib/qtest.h
parent2f42f8eee39d03a84a24da8b1d047f8e58079a26 (diff)
downloadQt-f72165460d27860cabd51691f4d935fd74b50f80.zip
Qt-f72165460d27860cabd51691f4d935fd74b50f80.tar.gz
Qt-f72165460d27860cabd51691f4d935fd74b50f80.tar.bz2
Prevent a crash when creating an inputContext from the QApplication dtor.
When accessing the global input context from the QWidget destructor access it directly instead of calling a helper function. Don't even bother to create an input context if QApplication is being destroyed (just in case if the user is calling the QApplication::inputContext manually from the destructor). Task-number: QTBUG-7105 Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/testlib/qtest.h')
0 files changed, 0 insertions, 0 deletions