> On Jan. 3, 2016, 3:22 nachm., Alex Richardson wrote: > > According to the documentation AppLocalDataLocation is the following: > > "C:/Users/<USER>/AppData/Local/<APPNAME>", "C:/ProgramData/<APPNAME>", > > "<APPDIR>", "<APPDIR>/data" > > > > In which directory are the desktop files? Unfortunately I can't check as my > > Windows machine broke a while back and I haven't compiled KF5 on Windows > > since. > > > > Patch looks good to me otherwise as it will still check the same > > directories change behaviour on Linux. Only minor issue is that the error > > message is a little bit confusing now.
hi, same problem occurs on mac, too, i think a better fallback would be something install prefix relative, that would work on win + mac. - Christoph ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/126618/#review90496 ----------------------------------------------------------- On Jan. 3, 2016, 1:22 nachm., Kåre Särs wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/126618/ > ----------------------------------------------------------- > > (Updated Jan. 3, 2016, 1:22 nachm.) > > > Review request for KDE Frameworks. > > > Repository: kcoreaddons > > > Description > ------- > > Without this patch kcoreaddons_desktop_to_json() will not find the destop > file. > > On windows GenericDataLocation returns "C:/Users/<USER>/AppData/Local" or > "C:/ProgramData". That is not a path that contains any destip files ;) > > This patch adds AppLocalDataLocation to the seach if the previous search does > not return a match. > > Another option would be to hardcode the absolute path to all places that uses > kcoreaddons_desktop_to_json(), but that does not feel too nice... > > What other options do we have? > > > Diffs > ----- > > src/lib/plugin/desktopfileparser.cpp 1122af8 > > Diff: https://git.reviewboard.kde.org/r/126618/diff/ > > > Testing > ------- > > KTextEditor compiles again on windows > > > Thanks, > > Kåre Särs > >
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel