-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 7d0daf7..cfba907 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp @@ -61,25 +61,25 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f applicationSettings = new QListViewItem(backupList, "Application Data", "", "Applications/"); selectItem(applicationSettings); documents= new QListViewItem(backupList, "Documents", "", "Documents/"); selectItem(documents); scanForApplicationSettings(); backupLocations.insert( "Documents", QDir::homeDirPath() + "/Documents" ); if (StorageInfo::hasCf()) { backupLocations.insert("CF", "/mnt/cf"); } - if (StorageInfo::hasSd || StorageInfo::hasMmc) + if (StorageInfo::hasSd() || StorageInfo::hasMmc()) { backupLocations.insert("SD", "/mnt/card"); } QMap<QString, QString>::Iterator it; for( it = backupLocations.begin(); it != backupLocations.end(); ++it ) { storeToLocation->insertItem(it.key()); restoreSource->insertItem(it.key()); } // Read the list of items to ignore. |