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


Commits:
347787b0 by Fatih Uzunoglu at 2024-08-31T14:13:24+00:00
qml: remove garbage code in TableColumns.qml

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/TableColumns.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/TableColumns.qml
=====================================
@@ -67,8 +67,7 @@ Item {
 
             const value = rowModel[criteria]
 
-            // NOTE: We can't use 'instanceof' because VLCTick is uncreatable.
-            if (value.toString().indexOf("VLCTick(") === 0) {
+            if (value.formatShort) {
 
                 string += value.formatShort()
             } else if (criteria === "nb_tracks") {



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/347787b026481336b89e82b12287373adb5b0703

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


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to