OTHER: move togglePlaytime to Application class and some other small fixes

This commit is contained in:
Thomas Frauendorfer 2008-11-04 14:26:19 +01:00
parent 461106eb43
commit 786b745d55
17 changed files with 59 additions and 45 deletions

View file

@ -76,7 +76,7 @@ Skin::getPixmap (const QString& file, const QString &path)
/* check for files in zip and check if file exists */
QDir dir (path);
dir.setFilter (QDir::Files);
dir.setFilter (QDir::Files|QDir::NoDotAndDotDot);
QFileInfoList list = dir.entryInfoList();
for (int i = 0; i < list.size(); ++i) {
@ -120,7 +120,7 @@ Skin::ParsePLEdit (void)
QString path;
dir.setPath (m_path);
dir.setFilter (QDir::Files);
dir.setFilter (QDir::Files|QDir::NoDotAndDotDot);
QFileInfoList list = dir.entryInfoList();
for (int i = 0; i < list.size(); ++i) {