refs #672 Fixed getTimestampOnDisk returning wrong timestamp when called while loading is in progress.

This commit is contained in:
Mathew Sutcliffe
2016-06-14 23:19:46 +01:00
parent 7d1a5b242d
commit 61127f9088

View File

@@ -583,7 +583,7 @@ namespace BlackMisc
{
QMutexLocker lock(&m_mutex);
if (m_lockFile.isLocked()) { return m_timestamps.value(key); }
if (m_lockFile.isLocked()) { return m_originalTimestamps.value(key); }
if (! m_lockFile.lock())
{