From 1116661132c740d9ad40dd3c86a959bf4a68086f Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Thu, 12 Oct 2017 19:59:39 +0000 Subject: user/libfm-qt: new package --- user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch (limited to 'user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch') diff --git a/user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch b/user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch new file mode 100644 index 000000000..f9732fce2 --- /dev/null +++ b/user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch @@ -0,0 +1,22 @@ +--- libfm-qt-0.11.2/src/folderview.cpp.old 2016-12-21 11:44:23.000000000 -0600 ++++ libfm-qt-0.11.2/src/folderview.cpp 2017-10-12 19:33:06.121769699 -0500 +@@ -727,7 +727,7 @@ + if(!selIndexes.isEmpty()) { + PathList paths; + QModelIndexList::const_iterator it; +- for(it = selIndexes.begin(); it != selIndexes.end(); ++it) { ++ for(it = selIndexes.constBegin(); it != selIndexes.constEnd(); ++it) { + FmFileInfo* file = model_->fileInfoFromIndex(*it); + paths.pushTail(fm_file_info_get_path(file)); + } +--- libfm-qt-0.11.2/src/utilities.cpp.old 2016-12-21 11:44:23.000000000 -0600 ++++ libfm-qt-0.11.2/src/utilities.cpp 2017-10-12 19:39:07.683967576 -0500 +@@ -40,7 +40,7 @@ + QList::const_iterator it; + FmPathList* pathList = fm_path_list_new(); + +- for(it = urls.begin(); it != urls.end(); ++it) { ++ for(it = urls.constBegin(); it != urls.constEnd(); ++it) { + QUrl url = *it; + FmPath* path = fm_path_new_for_uri(url.toString().toUtf8()); + fm_path_list_push_tail(pathList, path); -- cgit v1.2.3-60-g2f50