OTHER: move togglePlaytime to Application class and some other small fixes
This commit is contained in:
parent
461106eb43
commit
786b745d55
17 changed files with 59 additions and 45 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue