------=_Part_102748_15915430.1229984590663 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Great that is a nice feature... It save Qt Creator of an ugly interface... Did Jens review this commit? On Mon, Dec 22, 2008 at 2:45 PM, Olivier Goffart wrote: > SVN commit 900237 by ogoffart: > > Notify non-kde Qt application of style changes > > > > M +5 -0 kglobalsettings.cpp > > > --- trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.cpp #900236:900237 > @@ -783,6 +783,11 @@ > args.append(arg); > message.setArguments(args); > QDBusConnection::sessionBus().send(message); > +#ifdef Q_WS_X11 > + //notify non-kde qt applications of the change > + extern void qt_x11_apply_settings_in_all_apps(); > + qt_x11_apply_settings_in_all_apps(); > +#endif > } > > void KGlobalSettings::Private::_k_slotNotifyChange(int changeType, int > arg) > ------=_Part_102748_15915430.1229984590663 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Great that is a nice feature... It save Qt Creator of an ugly interface...

Did Jens review this commit?

On Mon, Dec 22, 2008 at 2:45 PM, Olivier Goffart <ogoffart@kde.org> wrote:
SVN commit 900237 by ogoffart:

Notify non-kde Qt application of style changes



 M  +5 -0      kglobalsettings.cpp


--- trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.cpp #900236:900237
@@ -783,6 +783,11 @@
    args.append(arg);
    message.setArguments(args);
    QDBusConnection::sessionBus().send(message);
+#ifdef Q_WS_X11
+    //notify non-kde qt applications of the change
+    extern void qt_x11_apply_settings_in_all_apps();
+    qt_x11_apply_settings_in_all_apps();
+#endif
 }

 void KGlobalSettings::Private::_k_slotNotifyChange(int changeType, int arg)

------=_Part_102748_15915430.1229984590663--