D21412: Add action to reset font size

Christoph Cullmann noreply at phabricator.kde.org
Sun May 26 11:30:41 BST 2019

cullmann requested changes to this revision.
cullmann added a comment.
This revision now requires changes to proceed.

  Hi, this is a good start!
  Thanks for taking care of this.
  I think to get the "default font", you need to call KateRendererConfig::global()->font() instead of using a default constructed QFont. That should return the font configured in the KTextEditor settings.
  For the shortcut: I guess you should use KStandardShortcut::ActualSize().
  As we now have three actions just for zooming I think some "Zoom" sub-menu would be nice.

  R39 KTextEditor


To: kishoreg, #ktexteditor, cullmann
Cc: cullmann, kwrite-devel, kde-frameworks-devel, domson, michaelh, ngraham, bruns, demsking, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190526/0f6729cf/attachment.html>

More information about the KWrite-Devel mailing list