From 08392e674a9cd14f9e0d988e5acd87761b767f1d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 15 Mar 2008 16:48:13 +0000 Subject: *.tar.bz2 skins support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@268 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/skinreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-13-gbd6f