Re: Review Request 129400: Avoid potential access of .last() on empty list

2016-11-22 Thread David Edmundson
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129400/ --- (Updated Nov. 22, 2016, 10:42 a.m.) Status -- This change has been

Re: Review Request 129400: Avoid potential access of .last() on empty list

2016-11-15 Thread Marco Martin
> On Nov. 14, 2016, 1:40 p.m., Aleix Pol Gonzalez wrote: > > src/kpackagetool/kpackagetool.cpp, line 502 > > > > > > Then just change to `QStandardPath::locate`? > > David Edmundson wrote: > Sounds sensible

Re: Review Request 129400: Avoid potential access of .last() on empty list

2016-11-15 Thread Marco Martin
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129400/#review100858 --- Fix it, then Ship it! other than that, ship it

Re: Review Request 129400: Avoid potential access of .last() on empty list

2016-11-15 Thread David Edmundson
> On Nov. 14, 2016, 1:40 p.m., Aleix Pol Gonzalez wrote: > > src/kpackagetool/kpackagetool.cpp, line 502 > > > > > > Then just change to `QStandardPath::locate`? Sounds sensible to me. Though I don't really

Re: Review Request 129400: Avoid potential access of .last() on empty list

2016-11-14 Thread Aleix Pol Gonzalez
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129400/#review100834 --- src/kpackagetool/kpackagetool.cpp (line 502)

Review Request 129400: Avoid potential access of .last() on empty list

2016-11-14 Thread David Edmundson
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129400/ --- Review request for KDE Frameworks and Plasma. Repository: kpackage