aboutsummaryrefslogtreecommitdiff
path: root/src/ui/skinreader.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-03-15 16:48:13 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-03-15 16:48:13 +0000
commit08392e674a9cd14f9e0d988e5acd87761b767f1d (patch)
tree3ca65e5ed8cc803d2d56b43db943273807b878f6 /src/ui/skinreader.cpp
parent54e20771081fcc0038bc80c688fb26b5d70005b4 (diff)
downloadqmmp-08392e674a9cd14f9e0d988e5acd87761b767f1d.tar.gz
qmmp-08392e674a9cd14f9e0d988e5acd87761b767f1d.tar.bz2
qmmp-08392e674a9cd14f9e0d988e5acd87761b767f1d.zip
*.tar.bz2 skins support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@268 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/skinreader.cpp')
-rw-r--r--src/ui/skinreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/skinreader.cpp b/src/ui/skinreader.cpp
index f7e7bab81..3204df17b 100644
--- a/src/ui/skinreader.cpp
+++ b/src/ui/skinreader.cpp
@@ -124,7 +124,7 @@ void SkinReader::unpackSkin(const QString &path)
foreach(QFileInfo file, f)
dir.remove(file.fileName());
//unpack
- if (path.endsWith(".tgz") || path.endsWith(".tar.gz"))
+ if (path.endsWith(".tgz") || path.endsWith(".tar.gz") || path.endsWith(".tar.bz2"))
untar(path, QDir::homePath() +"/.qmmp/cache/skin", FALSE);
if (path.endsWith(".zip") || path.endsWith(".wsz"))
unzip(path, QDir::homePath() +"/.qmmp/cache/skin", FALSE);