D12221: Fix problem that font/italic/... attributes no longer work with e.g. >= Qt 5.9

Christoph Cullmann noreply at phabricator.kde.org
Sun Apr 15 11:06:21 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180415/b8ca8ca1/attachment.html>


More information about the Kde-frameworks-devel mailing list