aboutsummaryrefslogtreecommitdiff
path: root/src/ui/skinreader.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 18:46:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-11 18:46:25 +0000
commit013ee07b55a3738b28b5d46324392d8498b50f2b (patch)
tree50979d3872a15fd3e25a746418da0f56c8e8dadd /src/ui/skinreader.cpp
parent542c1d2d3a26ce23b1d0668011b420db231334d2 (diff)
downloadqmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.gz
qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.bz2
qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.zip
removed obsolete members
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1619 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 789fff0b9..69b976636 100644
--- a/src/ui/skinreader.cpp
+++ b/src/ui/skinreader.cpp
@@ -59,7 +59,7 @@ void SkinReader::generateThumbs()
//clear removed skins from cache
foreach(QFileInfo thumbFile, d)
{
- bool del = TRUE;
+ bool del = true;
foreach(QFileInfo fileInfo, f)
{
if (fileInfo.baseName () == thumbFile.baseName ())
@@ -79,7 +79,7 @@ void SkinReader::generateThumbs()
//add new skins to cache
foreach(QFileInfo fileInfo, f)
{
- bool create = TRUE;
+ bool create = true;
foreach(QFileInfo thumbInfo, d)
{
if (fileInfo.baseName () == thumbInfo.baseName ())
@@ -95,9 +95,9 @@ void SkinReader::generateThumbs()
QString name = fileInfo.fileName ().toLower();
if (name.endsWith(".tgz") || name.endsWith(".tar.gz") || name.endsWith(".tar.bz2"))
- untar(fileInfo.filePath (), cache_dir.absolutePath (), TRUE);
+ untar(fileInfo.filePath (), cache_dir.absolutePath (), true);
if (name.endsWith(".zip") || name.endsWith(".wsz"))
- unzip(fileInfo.filePath (), cache_dir.absolutePath (), TRUE);
+ unzip(fileInfo.filePath (), cache_dir.absolutePath (), true);
}
}
//add thumbs to map