diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-10-31 21:54:22 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-10-31 21:54:22 +0100 |
commit | aef0ccb1a25ff9989256796dcb5264ff936f81b7 (patch) | |
tree | 2635bf6feabddbd4081176b818b6ad8280a68a4e /api/gui/icons | |
parent | d9c1fc09e7432cfc962ef369b293df791c9c0a7b (diff) | |
download | MultiMC-aef0ccb1a25ff9989256796dcb5264ff936f81b7.tar MultiMC-aef0ccb1a25ff9989256796dcb5264ff936f81b7.tar.gz MultiMC-aef0ccb1a25ff9989256796dcb5264ff936f81b7.tar.lz MultiMC-aef0ccb1a25ff9989256796dcb5264ff936f81b7.tar.xz MultiMC-aef0ccb1a25ff9989256796dcb5264ff936f81b7.zip |
GH-2232 add gif icon support (not animated)
Diffstat (limited to 'api/gui/icons')
-rw-r--r-- | api/gui/icons/IconList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/gui/icons/IconList.cpp b/api/gui/icons/IconList.cpp index 870b347e..5bf5f5e7 100644 --- a/api/gui/icons/IconList.cpp +++ b/api/gui/icons/IconList.cpp @@ -261,7 +261,7 @@ void IconList::installIcons(const QStringList &iconFiles) QString target = FS::PathCombine(m_dir.dirName(), fileinfo.fileName()); QString suffix = fileinfo.suffix(); - if (suffix != "jpeg" && suffix != "png" && suffix != "jpg" && suffix != "ico" && suffix != "svg") + if (suffix != "jpeg" && suffix != "png" && suffix != "jpg" && suffix != "ico" && suffix != "svg" && suffix != "gif") continue; if (!QFile::copy(file, target)) |