----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/128897/#review99147 -----------------------------------------------------------
src/cursorthemesmodel.cpp (line 52) <https://git.reviewboard.kde.org/r/128897/#comment66747> Xcursor 1.1 seems to be quite old (i.e. more than 10 years), why do we need to support it? https://www.x.org/wiki/Releases/7.3/ src/cursorthemesmodel.cpp (line 55) <https://git.reviewboard.kde.org/r/128897/#comment66746> Use `qgetenv` src/cursorthemesmodel.cpp (line 67) <https://git.reviewboard.kde.org/r/128897/#comment66748> Better use `QDir::homePath()`. - Aleix Pol Gonzalez On Sept. 13, 2016, 2:44 p.m., Jason A. Donenfeld wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/128897/ > ----------------------------------------------------------- > > (Updated Sept. 13, 2016, 2:44 p.m.) > > > Review request for Plasma, Aleix Pol Gonzalez and Thomas Pfeiffer. > > > Bugs: 368724 > http://bugs.kde.org/show_bug.cgi?id=368724 > > > Repository: kde-gtk-config > > > Description > ------- > > plasma-desktop's cursor theme kcm does the right thing, by consulting > the libXcursor library for the right search paths. Unfortunately, the > kcm here does a pretty butchered job of it. So, we copy, more or less, > the same algorithm used by plasma-desktop. Now there's parity in cursor > selection. > > For reference, please see line 165 of: > https://quickgit.kde.org/?p=plasma-desktop.git&a=blob&f=kcms%2Fcursortheme%2Fxcursor%2Fthememodel.cpp > > > Diffs > ----- > > CMakeLists.txt 07d313c0f6da20d0f0ad2b1e4db09d8b93395149 > src/cursorthemesmodel.h 7658bd56ae9517e29be513e379b012bd9ae3f417 > src/cursorthemesmodel.cpp 5238714671c36880a475da677302285a29b932d8 > src/gtkconfigkcmodule.cpp 7afe69841c321b93e59292e55af02eaa81e831b5 > > Diff: https://git.reviewboard.kde.org/r/128897/diff/ > > > Testing > ------- > > Works extremely well, and since this is the same algorithm as with the other > KCM, with code written years ago, it's certainly received quite a bit of > testing. > > > Thanks, > > Jason A. Donenfeld > >