diff --git a/oscar/mainwindow.cpp b/oscar/mainwindow.cpp index 6bcb7169..ecf74a2e 100644 --- a/oscar/mainwindow.cpp +++ b/oscar/mainwindow.cpp @@ -810,12 +810,14 @@ QStringList getDriveList() #endif foreach (const QStorageInfo &storage, QStorageInfo::mountedVolumes()) { if (storage.isValid() && storage.isReady()) { +#ifdef DEBUG_SDCARD if (storage.fileSystemType() != "tmpfs") { // Don't show all the Linux tmpfs mount points! qDebug() << "Device:" << storage.device(); qDebug() << " Path:" << storage.rootPath(); qDebug() << " Name:" << storage.name(); // ... qDebug() << " FS Type:" << storage.fileSystemType(); } +#endif if (storage.fileSystemType() == VFAT) { qDebug() << "Adding" << storage.name() << "on" << storage.rootPath() << "to drivelist"; drivelist.push_back(storage.rootPath());