On Monday 04 August 2014 22:01:15 Michael Pyne wrote:
> Hi all,
> 
> I received a bug (https://bugs.kde.org/show_bug.cgi?id=337938) reported
> against KAboutData in KCoreAddons, that setting the window icon doesn't
> actually set the window icon.
> 
> In fact, KAboutData doesn't even try to, except for setting a property to
> the string name of the icon in question.

Well, that dynamic property call is supposed to catch this static property 
from QGuiApplication, provided that qApp is not just a QCoreApplication:

  Q_PROPERTY(QIcon windowIcon READ windowIcon WRITE setWindowIcon)

I made this stuff work in qtbase f42bd772f8110dba13d209d81d8eed0077772185,
which is in Qt 5.3.0.

So it's known that it won't work with older versions of Qt.

I didn't test it via KAboutData though.

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to