summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview_p.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-04-30 08:11:43 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-04-30 08:18:22 (GMT)
commit2c6fdd89086977708850043a075b2b880bd22c9e (patch)
tree227c023704c8c2ce28e7d8fc72522f5306094845 /src/gui/itemviews/qabstractitemview_p.h
parent073b7ce298b0e079f310ec22dee44a9fc0af9ee6 (diff)
downloadQt-2c6fdd89086977708850043a075b2b880bd22c9e.zip
Qt-2c6fdd89086977708850043a075b2b880bd22c9e.tar.gz
Qt-2c6fdd89086977708850043a075b2b880bd22c9e.tar.bz2
QApplication::setStyle() can cause a crash
QApplication::setStyle() caused a crash if called before constructing the QApplication instance for custom styles. The reason was that polish tried to create a pixmap (which is not allowed before qApp is running). This fix checks that qApp exists. Polish will anyway be called again when qApp gets constructed. Task-number: 243697 Reviewed-by: Bjørn Erik Nilsen
Diffstat (limited to 'src/gui/itemviews/qabstractitemview_p.h')
0 files changed, 0 insertions, 0 deletions