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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-09-23 12:16:45 -07:00
parent 48e47c9048
commit c9f72e510a

View file

@ -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);