cullmann created this revision. cullmann added reviewers: Frameworks, Kate. Restricted Application added projects: Kate, Frameworks. cullmann requested review of this revision.
REVISION SUMMARY On e.g. openSUSE 15.0, which has 5.9 as default Qt, bold/italic/... styles no longer work. The styleName() property overwrites them. My patch just patches that away before setting the font. That seems to work fine. TEST PLAN Without patch: e.g. no bold if() constructs in C++ after setting the font once over the font chooser. With patch: sane styling again. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D12221 AFFECTED FILES src/utils/kateconfig.cpp src/utils/kateconfig.h To: cullmann, #frameworks, #kate Cc: michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann