Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 78576ea0 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Set the defaults for the favorite composite ops

This got lost in

commit 0f736a3d
Author: Dmitry Kazakov <dimula73@gmail.com>
Date:   Wed Mar 27 19:50:08 2019 +0300

    Clean-up system-wide default kritarc settings

    These defaults are set in KisConfig. The patch fixes Instant
    Preview being enabled on all the user systems by default. It
    shouldn't be.

    CCBUG:399190

However, the favorite composite ops were not set in KisConfig, so
they were empty. Unless you happened to have a an old install dir
which had a kritarc which still contained the defaults, so they
would still be present.

BUG:408753
parent 2952d53e
......@@ -1346,7 +1346,8 @@ void KisConfig::setFullscreenMode(const bool value) const
QStringList KisConfig::favoriteCompositeOps(bool defaultValue) const
{
return (defaultValue ? QStringList() : m_cfg.readEntry("favoriteCompositeOps", QStringList()));
return (defaultValue ? QStringList() : m_cfg.readEntry("favoriteCompositeOps",
QString("normal,erase,multiply,burn,darken,add,dodge,screen,overlay,soft_light_svg,luminize,lighten,saturation,color,divide").split(','));
}
void KisConfig::setFavoriteCompositeOps(const QStringList& compositeOps) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment