Merge pull request #224 from sparfenyuk/develop

Add virtual destructor for abstract classes
This commit is contained in:
Jonathan Thomas
2019-06-21 15:47:08 -05:00
committed by GitHub
9 changed files with 12 additions and 4 deletions

View File

@@ -220,7 +220,7 @@ std::shared_ptr<Frame> QtImageReader::GetFrame(int64_t requested_frame)
}
// Scale image smaller (or use a previous scaled image)
if (!cached_image || (cached_image && max_size.width() != max_width || max_size.height() != max_height)) {
if (!cached_image || (max_size.width() != max_width || max_size.height() != max_height)) {
#if USE_RESVG == 1
// If defined and found in CMake, utilize the libresvg for parsing
// SVG files and rasterizing them to QImages.