src/gui/styles/qgtkstyle_p.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
   283 
   283 
   284 void QGtkStylePrivate::init()
   284 void QGtkStylePrivate::init()
   285 {
   285 {
   286     resolveGtk();
   286     resolveGtk();
   287     initGtkWidgets();
   287     initGtkWidgets();
   288     if (isThemeAvailable())
       
   289         qApp->installEventFilter(&filter);
       
   290 }
   288 }
   291 
   289 
   292 GtkWidget* QGtkStylePrivate::gtkWidget(const QHashableLatin1Literal &path)
   290 GtkWidget* QGtkStylePrivate::gtkWidget(const QHashableLatin1Literal &path)
   293 {
   291 {
   294     GtkWidget *widget = gtkWidgetMap()->value(path);
   292     GtkWidget *widget = gtkWidgetMap()->value(path);