<table><tr><td style="">rjvbb updated this revision to Diff 36858.<br />rjvbb 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/D13777">View Revision</a></tr></table><br /><div><div><p>The need for an extra check in <tt style="background: #ebebeb; font-size: 13px;">qColorFromSettings()</tt> meant I changed the API to put all tests in there and added a default return value argument. IOW, basically the same API as KConfig has.</p>

<p>I've simplified the information alpha calculation, now looking only at the message background colour intensity. I think that should address the issue with dark themes.</p></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D13777?vs=36846&id=36858">https://phabricator.kde.org/D13777?vs=36846&id=36858</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13777">https://phabricator.kde.org/D13777</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kmessagewidget.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, ngraham, Frameworks<br /><strong>Cc: </strong>cfeck, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>