D25164: MobileTextActionsToolBar check if controlRoot is undefined before using it

Méven Car noreply at phabricator.kde.org
Wed Nov 6 09:51:42 GMT 2019


meven created this revision.
meven added a reviewer: Plasma.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
meven requested review of this revision.

REVISION SUMMARY
  Prevents warning such as
  
  qml/org/kde/plasma/components.3/mobiletextselection/MobileTextActionsToolBar.qml:62: TypeError: Cannot read property 'selectedText' of null
  qml/org/kde/plasma/components.3/mobiletextselection/MobileTextActionsToolBar.qml:70: TypeError: Cannot read property 'selectedText' of null
  qml/org/kde/plasma/components.3/mobiletextselection/MobileTextActionsToolBar.qml:78: TypeError: Cannot read property 'canPaste' of null

REPOSITORY
  R242 Plasma Framework (Library)

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25164

AFFECTED FILES
  src/declarativeimports/plasmacomponents3/mobiletextselection/MobileTextActionsToolBar.qml

To: meven, #plasma
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191106/ac30b8ed/attachment.html>


More information about the Kde-frameworks-devel mailing list