<table><tr><td style="">bport created this revision.<br />bport added reviewers: Plasma, davidedmundson, ervin, crossi, meven.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />bport requested review of this revision.
</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/D27452">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently from David Edmundson comment on <a href="https://phabricator.kde.org/D27384" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D27384</a></p>

<ol class="remarkup-list">
<li class="remarkup-list-item">KCModule::showEvent()</li>
</ol>

<p>this queues up a load and queues up a KCModule::changed(false)</p>

<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">during load ConfigModule::setNeedsSave(true) is called we set d->_needsSave to true</li>
<li class="remarkup-list-item">we emit ConfigModule::changed(true) which we proxy through to KCModule::changed(true)</li>
<li class="remarkup-list-item">we then process the queued KCModule::setChanged(false) from the earlier KCModule::showEvent</li>
<li class="remarkup-list-item">so we disable the button</li>
<li class="remarkup-list-item">any subsequent changes in the KCM will call ConfigModule::setNeedsSave(true)</li>
</ol></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Fix problem with ConfigModule KCM</li>
<li class="remarkup-list-item">Tried qtquicksettings module, no regression from my side</li>
</ul></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/D27452">https://phabricator.kde.org/D27452</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kcmodule.cpp</div></div></div><br /><div><strong>To: </strong>bport, Plasma, davidedmundson, ervin, crossi, meven<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>