profilePath += "/lumas/PAL/";
QDir dir(profilePath);
- QStringList filter;
- filter << "*.pgm";
+ QStringList filter;
+ filter << "*.pgm";
const QStringList result = dir.entryList(filter, QDir::Files);
QStringList imagefiles;
QStringList imagenamelist;
int current;
foreach(const QString file, result) {
- m_view.luma_file->addItem(KIcon(profilePath + file), file, profilePath + file);
- if (!lumaFile.isEmpty() && lumaFile == QString(profilePath + file))
- current = m_view.luma_file->count() - 1;
+ m_view.luma_file->addItem(KIcon(profilePath + file), file, profilePath + file);
+ if (!lumaFile.isEmpty() && lumaFile == QString(profilePath + file))
+ current = m_view.luma_file->count() - 1;
}
if (!lumaFile.isEmpty()) {