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
|
|
@ -60,11 +60,12 @@ SkinList::SkinList (QWidget *parent) : QListWidget (parent)
|
|||
path.append (QDir::homePath());
|
||||
path.append ("/.config/xmms2/clients/promoe/skins/");
|
||||
searchpath.append (path);
|
||||
searchpath.append (DATADIR "/skins");
|
||||
settings.setValue ("skin/searchpath", searchpath);
|
||||
}
|
||||
|
||||
QDir d;
|
||||
d.setFilter (QDir::Dirs|QDir::NoDotAndDotDot);
|
||||
d.setFilter (QDir::AllDirs|QDir::NoDotAndDotDot|QDir::Files);
|
||||
QFileInfoList list;
|
||||
foreach (QString path, searchpath) {
|
||||
d.setPath (path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue