Remove debug inline bot results marks.

This commit is contained in:
John Preston 2020-05-26 18:33:45 +04:00
parent dbb46ce9b0
commit af0eebb6f1
2 changed files with 0 additions and 8 deletions

View file

@ -74,9 +74,6 @@ int PhotoData::validSizeIndex(PhotoSize size) const {
const auto index = PhotoSizeIndex(size);
for (auto i = index; i != kPhotoSizeCount; ++i) {
if (_images[i].location.valid()) {
if (i != index) {
int a = 0; AssertIsDebug();
}
return i;
}
}

View file

@ -190,11 +190,6 @@ void Gif::paint(Painter &p, const QRect &clip, const PaintContext *context) cons
}
}
AssertIsDebug();
if (preview.usingThumbnail()) {
p.fillRect(QRect(r.topLeft(), QSize(20, 20)), Qt::green);
}
if (radial
|| _gif.isBad()
|| (!_gif && !loaded && !loading && !preview.usingThumbnail())) {