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 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;