author | mickeyl <mickeyl> | 2003-12-20 00:53:04 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-12-20 00:53:04 (UTC) |
commit | f495453bc1c2157f3c0a9a7957d15d3b5f434a72 (patch) (side-by-side diff) | |
tree | b3b3618608b1cb04642b8643cc905bc89d79cec6 | |
parent | 11c6b3b8ba56b28b160965387b4ffeffe2a2f143 (diff) | |
download | opie-f495453bc1c2157f3c0a9a7957d15d3b5f434a72.zip opie-f495453bc1c2157f3c0a9a7957d15d3b5f434a72.tar.gz opie-f495453bc1c2157f3c0a9a7957d15d3b5f434a72.tar.bz2 |
fix bug in line 73 - it helps to actually call the functions ;)
-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. |