diff --git a/wallpapers/image/backgroundlistmodel.cpp b/wallpapers/image/backgroundlistmodel.cpp --- a/wallpapers/image/backgroundlistmodel.cpp +++ b/wallpapers/image/backgroundlistmodel.cpp @@ -55,8 +55,8 @@ void ImageSizeFinder::run() { - QImage image(m_path); - Q_EMIT sizeFound(m_path, image.size()); + QImageReader reader(m_path); + Q_EMIT sizeFound(m_path, reader.size()); }