[vlc-commits] [Git][videolan/vlc][master] qt/cliplistmodel: Fix the 'onUpdateSort' comment

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat Dec 10 09:46:52 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
996b08df by Benjamin Arnaud at 2022-12-10T09:29:18+00:00
qt/cliplistmodel: Fix the 'onUpdateSort' comment

- - - - -


1 changed file:

- modules/gui/qt/util/cliplistmodel.hpp


Changes:

=====================================
modules/gui/qt/util/cliplistmodel.hpp
=====================================
@@ -142,7 +142,8 @@ public: // BaseClipListModel implementation
     bool hasMoreItems() const override;
 
 protected: // Abstract functions
-    // NOTE: This function has to return a comparator for the current sorting parameters.
+    // NOTE: This function is called when we need to update 'm_comparator' based on the current
+    //       sorting parameters.
     virtual void onUpdateSort(const QString & criteria, Qt::SortOrder order) = 0;
 
 protected: // BaseClipListModel implementation



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/996b08df5bcf4d753a38971e5e23a4279f3e2387

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/996b08df5bcf4d753a38971e5e23a4279f3e2387
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list