<table><tr><td style="">davidre added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25877">View Revision</a></tr></table><br /><div><div><p>So KConfigWatcher didn't work because the KCM doesn't write with the notify flag. Even if we did we can't depend on a specific version of plasma. Thinking a bit more about this:</p>

<p>This is in frameworks and getting the name probably works only on plasma byreading kdeglobals and listening for the dbus change signal. This means I need to find out if we are on plasma and not on some other desktop. (Maybe it has it's own color scheme support and reading kdeglobals (that still could exist) is wrong), <br />
We set the KDE_COLOR_SCHEME_PATH for plasma-integration. Another idea would be that plasma-integration sets a property that would tell us the default color scheme. Then we don't need to care if we are on plasma we just check if this property exists and is valid.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R265 KConfigWidgets</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25877">https://phabricator.kde.org/D25877</a></div></div><br /><div><strong>To: </strong>davidre, Frameworks<br /><strong>Cc: </strong>ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns<br /></div>