D15625: Sublime: Fix crash caused when all tool view items are small

Amish Naidu noreply at phabricator.kde.org
Thu Sep 20 19:11:01 BST 2018


amhndu created this revision.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
amhndu requested review of this revision.

REVISION SUMMARY
  In IdealLayout, because of buttonSpacing not being considered while
  checking if the buttons should be shrinked, D15450 <https://phabricator.kde.org/D15450> causes division by zero,
  this commit removes the assumption and checks before dividing.
  
  BUG: 398790

REPOSITORY
  R32 KDevelop

BRANCH
  segfault-fix

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

AFFECTED FILES
  kdevplatform/sublime/ideallayout.cpp

To: amhndu
Cc: kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180920/31e0fd23/attachment.html>


More information about the KDevelop-devel mailing list