Replace QPixmap == comparison with QImage ==

Reference:
- b39685d4c2
This commit is contained in:
zneix 2021-07-31 01:41:21 +02:00
parent 347a1b9ed6
commit efc376138a
No known key found for this signature in database
GPG key ID: 911916E0523B22F6

View file

@ -444,7 +444,7 @@ bool Image::operator==(const Image &other) const
return true;
if (!this->url_.string.isEmpty() && this->url_ == other.url_)
return true;
if (this->frames_->first() == other.frames_->first())
if (this->frames_->first()->toImage() == other.frames_->first()->toImage())
return true;
return false;