diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-05-27 10:15:54 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-05-27 10:15:54 (GMT) |
commit | bc5e4da28c1ffbc0da1cbfcaa1e6236ff4c2d4e3 (patch) | |
tree | 1282ad9eba2023e95a100b775671add1d9be6e4b /src/gui/styles/qgtkstyle_p.cpp | |
parent | fe824f6175ebbeb1940872275b31f9894d056ad0 (diff) | |
download | Qt-bc5e4da28c1ffbc0da1cbfcaa1e6236ff4c2d4e3.zip Qt-bc5e4da28c1ffbc0da1cbfcaa1e6236ff4c2d4e3.tar.gz Qt-bc5e4da28c1ffbc0da1cbfcaa1e6236ff4c2d4e3.tar.bz2 |
Fixed a crash when creating QGtkStyle before QApplication
Task-number: QTBUG-10758
Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/styles/qgtkstyle_p.cpp')
-rw-r--r-- | src/gui/styles/qgtkstyle_p.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/styles/qgtkstyle_p.cpp b/src/gui/styles/qgtkstyle_p.cpp index 3c6a1ef..4ed0fab 100644 --- a/src/gui/styles/qgtkstyle_p.cpp +++ b/src/gui/styles/qgtkstyle_p.cpp @@ -285,8 +285,6 @@ void QGtkStylePrivate::init() { resolveGtk(); initGtkWidgets(); - if (isThemeAvailable()) - qApp->installEventFilter(&filter); } GtkWidget* QGtkStylePrivate::gtkWidget(const QHashableLatin1Literal &path) |