mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Show notification message while logs are converted from v2
This is another long operation that needs showing a notification about importing the old format log files Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
90d68ead31
commit
100f4ee1a4
1 changed files with 2 additions and 1 deletions
|
@ -1395,13 +1395,14 @@ void MainWindow::loadFiles(const QStringList fileNames)
|
||||||
v2_question_shown = true;
|
v2_question_shown = true;
|
||||||
abort_read_of_old_file = false;
|
abort_read_of_old_file = false;
|
||||||
showV2Dialog();
|
showV2Dialog();
|
||||||
|
getNotificationWidget()->showNotification(tr("Please Wait, Importing your files..."), KMessageWidget::Information);
|
||||||
i--; // so we re-try this file
|
i--; // so we re-try this file
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
failedParses.append(fileNames.at(i));
|
failedParses.append(fileNames.at(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
getNotificationWidget()->hideNotification();
|
||||||
process_dives(false, false);
|
process_dives(false, false);
|
||||||
addRecentFile(fileNames);
|
addRecentFile(fileNames);
|
||||||
removeRecentFile(failedParses);
|
removeRecentFile(failedParses);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue