D16001: ktextedit: lazy load the QTextToSpeech object
Pino Toscano
noreply at phabricator.kde.org
Sun Oct 7 11:17:06 BST 2018
pino created this revision.
pino added a reviewer: mlaurent.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
pino requested review of this revision.
REVISION SUMMARY
Create the QTextToSpeech object on demand, i.e. only at the first
request to speak a text. While this will make the the first request
slower (but only the first), the creation of each KTextEdit widget is
faster again.
TEST PLAN
Builds fine, unit tests runs fine, ktextedittest still works as
expected.
REPOSITORY
R310 KTextWidgets
BRANCH
lazy-qtexttospeech (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D16001
AFFECTED FILES
src/widgets/ktextedit.cpp
To: pino, mlaurent
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181007/f57a0401/attachment.html>
More information about the Kde-frameworks-devel
mailing list