]> cloud.milkyroute.net Git - dolphin.git/commit
We don't need the mutex guarding m_itemStates in the
authorSimeon Bird <bladud@gmail.com>
Sat, 12 Jan 2013 15:37:26 +0000 (10:37 -0500)
committerSimeon Bird <bladud@gmail.com>
Tue, 15 Jan 2013 16:11:59 +0000 (11:11 -0500)
commit7fe1278b1e2aaec2408bf053092f8f11ef4cbfdb
treec5208032532e2d4596c4985e0116dca72a3873fa
parent72de114a94c9a8d313c517a694be63662a7d10c2
We don't need the mutex guarding m_itemStates in the
UpdateItemStatesThread, because m_itemStates is only accessed by the
when the thread is done, and set before the thread starts.

Also combine the setData function with the constructor.
src/views/versioncontrol/updateitemstatesthread.cpp
src/views/versioncontrol/updateitemstatesthread.h
src/views/versioncontrol/versioncontrolobserver.cpp