summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2018-08-16 22:40:05 -0500
committerLostDragonist <lost.dragonist@gmail.com>2018-08-16 22:40:17 -0500
commitd65031c814769079a72d79b0edb84a20266b2b3c (patch)
tree45031716de5c9653851126a5763a7c3db2fdca92 /src/mainwindow.cpp
parentc27e718fbdb3355bb75a92e8773afebb7d9c69a5 (diff)
Allow user to cancel VFS mapping
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index e6b454c5..3c749bf5 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5012,6 +5012,9 @@ void MainWindow::on_bossButton_clicked()
createStdoutPipe(&stdOutRead, &stdOutWrite);
try {
m_OrganizerCore.prepareVFS();
+ } catch (const UsvfsConnectorException &e) {
+ qDebug(e.what());
+ return;
} catch (const std::exception &e) {
QMessageBox::warning(qApp->activeWindow(), tr("Error"), e.what());
return;