D22488: invoke QIcon::setFallbackThemeName a bit later

Kai Uwe Broulik noreply at phabricator.kde.org
Tue Jul 16 13:34:38 BST 2019


broulik added inline comments.

INLINE COMMENTS

> kicontheme.cpp:267
> +#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
> +    if (!d->fallbackThemeInitialized) {
> +        QIcon::setFallbackThemeName(QStringLiteral("breeze"));

I guess you can just do a

  static s_fallbackThemeInitialized = false;
  if (!s_fallbackThemeInitialized) {
      ...
  }

REPOSITORY
  R302 KIconThemes

REVISION DETAIL
  https://phabricator.kde.org/D22488

To: mart, #frameworks, #plasma
Cc: broulik, kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190716/340cfff0/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list