From d65031c814769079a72d79b0edb84a20266b2b3c Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Thu, 16 Aug 2018 22:40:05 -0500 Subject: Allow user to cancel VFS mapping --- src/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainwindow.cpp') 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; -- cgit v1.3.1