<table><tr><td style="">cullmann created this revision.<br />cullmann added reviewers: Frameworks, Kate.<br />Restricted Application added projects: Kate, Frameworks.<br />cullmann 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/D12221">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>On e.g. openSUSE 15.0, which has 5.9 as default Qt, bold/italic/... styles no longer work.<br />
The styleName() property overwrites them.<br />
My patch just patches that away before setting the font.<br />
That seems to work fine.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Without patch: e.g. no bold if() constructs in C++ after setting the font once over the font chooser.<br />
With patch: sane styling again.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12221">https://phabricator.kde.org/D12221</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/utils/kateconfig.cpp<br />
src/utils/kateconfig.h</div></div></div><br /><div><strong>To: </strong>cullmann, Frameworks, Kate<br /><strong>Cc: </strong>michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>