Skip to content

Commit

Permalink
remove junk
Browse files Browse the repository at this point in the history
  • Loading branch information
JonMagon committed Sep 18, 2020
1 parent b26f926 commit 538c168
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ MainWindow::MainWindow(AppSettings *settings, Benchmark *benchmark, QWidget *par
// Add each device and its mount point if is writable
foreach (const QStorageInfo &storage, QStorageInfo::mountedVolumes()) {
if (storage.isValid() && storage.isReady() && !storage.isReadOnly()) {
// SCSI/USB/NVME/LUKS
if (storage.device().indexOf("/dev/") != -1) {
if (storage.device().indexOf("/dev") != -1) {

if (storage.rootPath() == QDir::homePath())
isSomeDeviceMountAsHome = true;
Expand Down

0 comments on commit 538c168

Please sign in to comment.