mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
SVN_SILENT: inserted comment
svn path=/trunk/KDE/kdebase/apps/; revision=1060036
This commit is contained in:
parent
1c4fddb06e
commit
cc88568ad6
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ UpdateItemStatesThread::UpdateItemStatesThread() :
|
|||
m_mutex(0),
|
||||
m_itemStates()
|
||||
{
|
||||
// Several threads may share one instance of a plugin. A global
|
||||
// mutex is required to serialize the retrieval of version control
|
||||
// states inside run().
|
||||
static QMutex globalMutex;
|
||||
m_mutex = &globalMutex;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue