diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2021-01-18 08:48:18 -0700 |
|---|---|---|
| committer | Chris Bessent <lost.dragonist@gmail.com> | 2021-01-18 08:49:23 -0700 |
| commit | c70e53897d16ce34aa4ae5774ba678ae0aa55672 (patch) | |
| tree | 5d4662420a5db543b4f599eaa71defb556bb404e /src/modinfodialog.cpp | |
| parent | 2b1f01cba2a50a17db69187a1b4cbecf5a0fb65d (diff) | |
Remove case sensitivity regarding preview file extensions
That means ".dds" and ".DDS" should be treated the same.
Diffstat (limited to 'src/modinfodialog.cpp')
| -rw-r--r-- | src/modinfodialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinfodialog.cpp b/src/modinfodialog.cpp index f50d7024..fc83bf11 100644 --- a/src/modinfodialog.cpp +++ b/src/modinfodialog.cpp @@ -48,7 +48,7 @@ bool canPreviewFile( return false; } - const auto ext = QFileInfo(filename).suffix(); + const auto ext = QFileInfo(filename).suffix().toLower(); return pluginContainer.previewGenerator().previewSupported(ext); } |
