walk search for .desktop files etc recursively

Signed-off-by: Albert S <mail@quitesimple.org>
This commit is contained in:
hxbrn 2019-09-01 20:48:39 +02:00 committato da Albert S
parent 19114a0b5d
commit 18e046d028

Vedi File

@ -182,7 +182,7 @@ QVector<EntryConfig> ConfigReader::readConfig()
QVector<EntryConfig> result; QVector<EntryConfig> result;
for(QString &configPath : configPaths) for(QString &configPath : configPaths)
{ {
QDirIterator it(configPath); QDirIterator it(configPath, QDirIterator::Subdirectories);
while(it.hasNext()) while(it.hasNext())
{ {
QString path = it.next(); QString path = it.next();