From c9f72e510a655fdca7c35be688d96f8c05659bc8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 23 Sep 2015 12:16:45 -0700 Subject: Show progress bar when loading from cloud storage by default It turns out that I forgot to make sure that the progress bar is shown if the user has things set up so that the cloud storage is the default dive file that they open. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index eb02ae8c9..9feb8f684 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -1574,6 +1574,7 @@ void MainWindow::loadFiles(const QStringList fileNames) QByteArray fileNamePtr; QStringList failedParses; + showProgressBar(); for (int i = 0; i < fileNames.size(); ++i) { int error; @@ -1592,6 +1593,7 @@ void MainWindow::loadFiles(const QStringList fileNames) failedParses.append(fileNames.at(i)); } } + hideProgressBar(); if (!showWarning) getNotificationWidget()->hideNotification(); process_dives(false, false); -- cgit v1.2.3-70-g09d2