[Differential] [Commented On] D1770: [OSD] Allow disabling OSD through config file
    Martin Gräßlin 
    noreply at phabricator.kde.org
       
    Mon Jan  9 16:50:03 UTC 2017
    
    
  
graesslin added inline comments.
INLINE COMMENTS
> shellcorona.cpp:224-227
> +    const QString configFile = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1Char('/') + m_config->name();
> +    KDirWatch::self()->addFile(configFile);
> +    connect(KDirWatch::self(), &KDirWatch::dirty, this, &ShellCorona::updateConfiguration);
> +    connect(KDirWatch::self(), &KDirWatch::created, this, &ShellCorona::updateConfiguration);
Is there no mechanism inside Plasma to notice when the config changes?
REPOSITORY
  R120 Plasma Workspace
REVISION DETAIL
  https://phabricator.kde.org/D1770
EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/
To: broulik, #plasma, mart
Cc: mart, graesslin, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, andreaska, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170109/fdf6974d/attachment.html>
    
    
More information about the Plasma-devel
mailing list