Projects
Extra
vlc-beta
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 191
View file
_service:obs_scm:vlc-beta-20251127.0c1005305.obscpio/modules/gui/qt/medialibrary/mlplaylistlistmodel.cpp -> _service:obs_scm:vlc-beta-20251127.15449b686.obscpio/modules/gui/qt/medialibrary/mlplaylistlistmodel.cpp
Changed
@@ -121,11 +121,9 @@ assert(m_mediaLib); assert(ids.size() > 0); - if (unlikely(m_transactionPending)) + if (unlikely(!setTransactionPending(true))) return; - setTransactionPending(true); - m_mediaLib->runOnMLThread(this, //ML thread playlistId, ids(vlc_medialibrary_t* ml) { @@ -179,11 +177,9 @@ { assert(m_mediaLib); - if (unlikely(m_transactionPending)) + if (unlikely(!setTransactionPending(true))) return false; - setTransactionPending(true); - std::vector<MLItemId> itemList; for (const QVariant & id : ids) { @@ -341,10 +337,10 @@ setTransactionPending(false); } -void MLPlaylistListModel::setTransactionPending(const bool value) +bool MLPlaylistListModel::setTransactionPending(const bool value) { if (m_transactionPending == value) - return; + return false; m_transactionPending = value; @@ -358,6 +354,7 @@ } emit transactionPendingChanged(value); + return true; } QString MLPlaylistListModel::getCover(const MLPlaylist * playlist) const
View file
_service:obs_scm:vlc-beta-20251127.0c1005305.obscpio/modules/gui/qt/medialibrary/mlplaylistlistmodel.hpp -> _service:obs_scm:vlc-beta-20251127.15449b686.obscpio/modules/gui/qt/medialibrary/mlplaylistlistmodel.hpp
Changed
@@ -96,7 +96,7 @@ void endTransaction(); - void setTransactionPending(bool); + bool setTransactionPending(bool); private: // MLBaseModel implementation void onVlcMlEvent(const MLEvent & event) override;
View file
_service:obs_scm:vlc-beta.obsinfo
Changed
@@ -1,4 +1,4 @@ name: vlc-beta -version: 20251127.0c1005305 -mtime: 1764241089 -commit: 0c100530542ccbaee72180bc380a31eccd3bda54 +version: 20251127.15449b686 +mtime: 1764250402 +commit: 15449b6861dcf137be2284910621eca2567df807
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.