[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kajongg] src: KIcon: svg->ico
From: Wolfgang Rohdewald <wolfgang () rohdewald ! de>
Date: 2016-12-03 9:17:40
Message-ID: E1cD6Rw-0002UT-Vz () code ! kde ! org
[Download RAW message or body]
Git commit 11041fb7cbb07a92cb224a8a46c54ab7d6e5d458 by Wolfgang Rohdewald.
Committed on 03/12/2016 at 09:16.
Pushed by wrohdewald into branch 'master'.
KIcon: svg->ico
M +1 -3 src/kdestub.py
https://commits.kde.org/kajongg/11041fb7cbb07a92cb224a8a46c54ab7d6e5d458
diff --git a/src/kdestub.py b/src/kdestub.py
index d064841..5dd2af5 100644
--- a/src/kdestub.py
+++ b/src/kdestub.py
@@ -1137,9 +1137,7 @@ class KIcon(QIcon):
# we have full control about file and location, no need to search
extension = 'png'
if name in ('games-kajongg-law', 'kajongg'):
- # windows 2000 does not support svg/svgz
- extension = 'svgz' if 'svgz' in QImageReader.supportedImageFormats(
- ) else 'ico'
+ extension = 'ico'
name = os.path.normpath(
'{}/share/icons/{}.{}'.format(
KStandardDirs.prefix,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic