-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123206/
-----------------------------------------------------------

(Updated April 11, 2015, 1:17 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and Martin Tobias Holmedahl Sandsmark.


Changes
-------

Submitted with commit 1670e93587de4044c10bcb81f304032361b8e464 by David 
Edmundson to branch master.


Repository: sonnet


Description
-------

Don't try to highlight if there is no spell checker found

It's slightly wasteful to do a re-highlight, more important without this we max 
out the CPU usage as rehighlightRequest singleShot is still false (see line 120 
in the constructor), so this timer constantly retriggers with no interval.


Diffs
-----

  src/ui/highlighter.cpp 05c72ec 

Diff: https://git.reviewboard.kde.org/r/123206/diff/


Testing
-------

ran textedit example without my CPU usage skyrocketing.


Thanks,

David Edmundson

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to