-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 | |||
@@ -67,13 +67,13 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f | |||
67 | 67 | ||
68 | backupLocations.insert( "Documents", QDir::homeDirPath() + "/Documents" ); | 68 | backupLocations.insert( "Documents", QDir::homeDirPath() + "/Documents" ); |
69 | if (StorageInfo::hasCf()) | 69 | if (StorageInfo::hasCf()) |
70 | { | 70 | { |
71 | backupLocations.insert("CF", "/mnt/cf"); | 71 | backupLocations.insert("CF", "/mnt/cf"); |
72 | } | 72 | } |
73 | if (StorageInfo::hasSd || StorageInfo::hasMmc) | 73 | if (StorageInfo::hasSd() || StorageInfo::hasMmc()) |
74 | { | 74 | { |
75 | backupLocations.insert("SD", "/mnt/card"); | 75 | backupLocations.insert("SD", "/mnt/card"); |
76 | } | 76 | } |
77 | 77 | ||
78 | QMap<QString, QString>::Iterator it; | 78 | QMap<QString, QString>::Iterator it; |
79 | for( it = backupLocations.begin(); it != backupLocations.end(); ++it ) | 79 | for( it = backupLocations.begin(); it != backupLocations.end(); ++it ) |