-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 81d7ed3..358f663 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp | |||
@@ -156,10 +156,12 @@ void BackupAndRestore::scanForApplicationSettings(){ | |||
156 | QFileInfoListIterator it( *list ); | 156 | QFileInfoListIterator it( *list ); |
157 | QFileInfo *fi; | 157 | QFileInfo *fi; |
158 | while ( (fi=it.current()) ) { | 158 | while ( (fi=it.current()) ) { |
159 | // qDebug((d.path()+fi->fileName()).latin1()); | 159 | // qDebug((d.path()+fi->fileName()).latin1()); |
160 | QListViewItem *newItem = new QListViewItem(applicationSettings, fi->fileName()); | 160 | if ( ( fi->fileName() != "." ) && ( fi->fileName() != ".." ) ) { |
161 | selectItem(newItem); | 161 | QListViewItem *newItem = new QListViewItem(applicationSettings, fi->fileName()); |
162 | selectItem(newItem); | ||
163 | } | ||
162 | ++it; | 164 | ++it; |
163 | } | 165 | } |
164 | } | 166 | } |
165 | 167 | ||