[Differential] [Request, 5 lines] D1241: Fix crash in relativeActivity

davidedmundson (David Edmundson) noreply at phabricator.kde.org
Mon Mar 28 23:42:58 UTC 2016


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.

REVISION SUMMARY
  If we were on activity 0 and tried to load the previous activity we
  would crash.
  
  -1 % rowCount == -1 in C++
  
  we then try and use that index which is obviously invalid.
  
  BUG: 361056

REPOSITORY
  rPLASMADESKTOP Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  imports/activitymanager/sortedactivitiesmodel.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: davidedmundson, Plasma
Cc: plasma-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160328/c6473701/attachment.html>


More information about the Plasma-devel mailing list