mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-19 01:26:12 +02:00
fix comment
This commit is contained in:
parent
a2b1cfc7ac
commit
72b15b4223
1 changed files with 1 additions and 3 deletions
|
@ -19,10 +19,8 @@ QReadWriteLock ImageProvider::_rwLock;
|
|||
QPixmap* ImageProvider::_securityImage = nullptr;
|
||||
|
||||
void ImageProvider::setSecurityImage(QPixmap* pixmap) {
|
||||
// we are responsible for the pointer so no need to copy
|
||||
// but we do need to delete the old one.
|
||||
QWriteLocker lock(&_rwLock);
|
||||
// no need to delete old one, that is managed by the wallet
|
||||
QWriteLocker lock(&_rwLock);
|
||||
_securityImage = pixmap;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue