<div>davidedmundson created this revision.<br />
davidedmundson added a reviewer: Plasma.<br />
Herald added a project: Plasma.<br />
Herald added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>If we were on activity 0 and tried to load the previous activity we<br />
would crash.</p>

<p>-1 % rowCount == -1 in C++</p>

<p>we then try and use that index which is obviously invalid.</p>

<p>BUG: 361056</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMADESKTOP Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1241" rel="noreferrer">https://phabricator.kde.org/D1241</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>imports/activitymanager/sortedactivitiesmodel.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel<br /></div>