From 085bec6d5b31366d9c6de454393af433477dae86 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Tue, 17 Aug 2021 23:08:42 -0600 Subject: [PATCH] always open to root --- GUI/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index e33bcc9..ffff064 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -155,7 +155,7 @@ namespace savedProcesses.removeDuplicates(); savedProcesses.insert(1, FROM_COMPUTER); QString process = QInputDialog::getItem(This, SELECT_PROCESS, SELECT_PROCESS_INFO, savedProcesses, 0, true, &ok, Qt::WindowCloseButtonHint); - if (process == FROM_COMPUTER) process = QDir::toNativeSeparators(QFileDialog::getOpenFileName(This, SELECT_PROCESS, "C:\\", PROCESSES)); + if (process == FROM_COMPUTER) process = QDir::toNativeSeparators(QFileDialog::getOpenFileName(This, SELECT_PROCESS, "/", PROCESSES)); if (ok && process.contains('\\')) return S(process); return {}; }