From 4a2150bb31b054ef181bac9c574657d38c318195 Mon Sep 17 00:00:00 2001 From: for13to1 Date: Sat, 25 Jul 2026 09:42:49 +0800 Subject: [PATCH 1/2] fix(cache): correct debug worker variable --- YUViewLib/src/video/caching/VideoCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YUViewLib/src/video/caching/VideoCache.cpp b/YUViewLib/src/video/caching/VideoCache.cpp index a1240e17c..ac45931fc 100644 --- a/YUViewLib/src/video/caching/VideoCache.cpp +++ b/YUViewLib/src/video/caching/VideoCache.cpp @@ -892,7 +892,7 @@ void VideoCache::threadCachingFinished() { DEBUG_CACHING_DETAIL("VideoCache::threadCachingFinished WorkerList - worker %p - working %d", thread, - t->worker()->isWorking()); + thread->worker()->isWorking()); if (thread->worker()->isWorking()) // A job is still running. Wait. jobsRunning = true; From 55683f493eff3e7ae224743e4a44adc96f1140c2 Mon Sep 17 00:00:00 2001 From: Christian Feldmann Date: Wed, 5 Aug 2026 23:35:26 +0200 Subject: [PATCH 2/2] Re-add getName function. --- YUViewLib/src/playlistitem/playlistItem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/YUViewLib/src/playlistitem/playlistItem.h b/YUViewLib/src/playlistitem/playlistItem.h index c5f746363..6a63b7d30 100644 --- a/YUViewLib/src/playlistitem/playlistItem.h +++ b/YUViewLib/src/playlistitem/playlistItem.h @@ -114,7 +114,8 @@ class playlistItem : public QObject, public QTreeWidgetItem virtual Properties properties() const { return this->prop; }; // Set the name of the item. This is also the name that is shown in the tree view - void setName(const QString &name); + void setName(const QString &name); + QString getName() const { return this->prop.name; } // After loading the playlist, this playlistID has to be reset because it is only valid within // this playlist. If another