diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2017-10-12 19:59:39 +0000 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2017-10-12 20:13:39 +0000 |
commit | 1116661132c740d9ad40dd3c86a959bf4a68086f (patch) | |
tree | f8fcebb68c2e31b236e7c14c901b381057b0bb97 /user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch | |
parent | e4b59d4a0b87233f2ca36308c899a109d0e0eca0 (diff) | |
download | packages-1116661132c740d9ad40dd3c86a959bf4a68086f.tar.gz packages-1116661132c740d9ad40dd3c86a959bf4a68086f.tar.bz2 packages-1116661132c740d9ad40dd3c86a959bf4a68086f.tar.xz packages-1116661132c740d9ad40dd3c86a959bf4a68086f.zip |
user/libfm-qt: new package
Diffstat (limited to 'user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch')
-rw-r--r-- | user/libfm-qt/libfm-qt-0.11.2-const-fixes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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<QUrl>::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); |