Commit 8e892c4f authored by Colin Jermain's avatar Colin Jermain
Browse files

Allowing all supported extensions to be read in the directory

parent dec4885e
......@@ -1040,7 +1040,7 @@ class MainWindow(QMainWindow, WindowMixin):
def scanAllImages(self, folderPath):
extensions = ['.jpeg', '.jpg', '.png', '.bmp']
extensions = ['.%s' %"ascii").lower() for fmt in QImageReader.supportedImageFormats()]
images = []
for root, dirs, files in os.walk(folderPath):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment