D23898: [KUrlNavigatorButton] Fix QString usage to not use [] out of bounds.

David Faure noreply at phabricator.kde.org
Thu Sep 12 12:22:45 BST 2019


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

REVISION SUMMARY
  Since Qt-5.14 this leads to a runtime warning from QCharRef.
  
  The solution resizes "big" before hand, and then resizes again at
  the end, to the final size.

TEST PLAN
  running dolphin; new unittest

REPOSITORY
  R241 KIO

BRANCH
  master

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

AFFECTED FILES
  autotests/kurlnavigatortest.cpp
  autotests/kurlnavigatortest.h
  src/filewidgets/kurlnavigatorbutton.cpp
  src/filewidgets/kurlnavigatorbutton_p.h

To: dfaure, elvisangelaccio
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/20190912/fbabadcf/attachment.html>


More information about the Kde-frameworks-devel mailing list