aboutsummaryrefslogtreecommitdiff
path: root/src/ui/skinreader.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 19:32:01 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 19:32:01 +0000
commit11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 (patch)
tree09084901838b8d57f345a5379cf5915cde4a9921 /src/ui/skinreader.cpp
parent013ee07b55a3738b28b5d46324392d8498b50f2b (diff)
downloadqmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.gz
qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.bz2
qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.zip
reapplied previous patch
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/skinreader.cpp')
-rw-r--r--src/ui/skinreader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/skinreader.cpp b/src/ui/skinreader.cpp
index 69b976636..297493ebf 100644
--- a/src/ui/skinreader.cpp
+++ b/src/ui/skinreader.cpp
@@ -64,7 +64,7 @@ void SkinReader::generateThumbs()
{
if (fileInfo.baseName () == thumbFile.baseName ())
{
- del = FALSE;
+ del = false;
break;
}
}
@@ -84,7 +84,7 @@ void SkinReader::generateThumbs()
{
if (fileInfo.baseName () == thumbInfo.baseName ())
{
- create = FALSE;
+ create = false;
break;
}
}
@@ -126,9 +126,9 @@ void SkinReader::unpackSkin(const QString &path)
dir.remove(file.fileName());
//unpack
if (path.endsWith(".tgz") || path.endsWith(".tar.gz") || path.endsWith(".tar.bz2"))
- untar(path, QDir::homePath() +"/.qmmp/cache/skin", FALSE);
+ untar(path, QDir::homePath() +"/.qmmp/cache/skin", false);
if (path.endsWith(".zip") || path.endsWith(".wsz"))
- unzip(path, QDir::homePath() +"/.qmmp/cache/skin", FALSE);
+ unzip(path, QDir::homePath() +"/.qmmp/cache/skin", false);
}
const QStringList SkinReader::skins()