diff options
Diffstat (limited to 'src/manager-lib/installationtask.cpp')
-rw-r--r-- | src/manager-lib/installationtask.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manager-lib/installationtask.cpp b/src/manager-lib/installationtask.cpp index 1bf965a5..cebfb9d2 100644 --- a/src/manager-lib/installationtask.cpp +++ b/src/manager-lib/installationtask.cpp @@ -263,7 +263,9 @@ void InstallationTask::checkExtractedFile(const QString &file) Q_DECL_NOEXCEPT_E if (m_iconFileName.isEmpty()) throw Exception(Error::Package, "the 'icon' field in info.yaml cannot be empty or absent."); + m_mutex.lock(); m_packageId = m_package->id(); + m_mutex.unlock(); m_foundInfo = true; } else if (m_extractedFileCount == 2) { |