D27809: decorationbridge: Fix crash on plasma mobile

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag accepted this revision.
zzag added a comment.
This revision is now accepted and ready to land.


  Thanks.

INLINE COMMENTS

> decorationbridge.cpp:314
>      QString b;
> -    b.append(QStringLiteral("Plugin: %1\n").arg(m_plugin));
> -    b.append(QStringLiteral("Theme: %1\n").arg(m_theme));
> -    b.append(QStringLiteral("Plugin recommends border size: %1\n").arg(m_recommendedBorderSize.isNull() ? "No" : m_recommendedBorderSize));
> -    b.append(QStringLiteral("Blur: %1\n").arg(m_blur));
> -    const QMetaObject *metaOptions = m_settings->metaObject();
> -    for (int i=0; i<metaOptions->propertyCount(); ++i) {
> -        const QMetaProperty property = metaOptions->property(i);
> -        if (QLatin1String(property.name()) == QLatin1String("objectName")) {
> -            continue;
> +
> +    if (m_noPlugin) {

Unrelated whitespace change.

REPOSITORY
  R108 KWin

BRANCH
  fix-crash-supportInfo

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

To: apol, #kwin, zzag
Cc: zzag, anthonyfieroni, kwin, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.