refs #522, mutex for mutable members (thread safe)

* copy/assignment/lock for mutable members
* also removed redundant in status message (slack discussion MS/KB)
This commit is contained in:
Klaus Basan
2015-11-26 02:31:13 +01:00
parent a4ba45ce75
commit d6733d49bb
13 changed files with 115 additions and 73 deletions

View File

@@ -13,14 +13,12 @@
namespace BlackMisc
{
CPixmap::CPixmap() = default;
CPixmap::CPixmap(const QPixmap &pixmap) : m_pixmap(pixmap), m_hasCachedPixmap(true)
{
this->fillByteArray();
}
CPixmap::CPixmap(const CPixmap &other) : CValueObject()
CPixmap::CPixmap(const CPixmap &other) : CValueObject(other)
{
*this = other;
}