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:
Gehad elrobey 2015-02-28 00:42:07 +02:00 committed by Dirk Hohndel
parent 90d68ead31
commit 100f4ee1a4

View file

@ -1395,13 +1395,14 @@ void MainWindow::loadFiles(const QStringList fileNames)
v2_question_shown = true;
abort_read_of_old_file = false;
showV2Dialog();
getNotificationWidget()->showNotification(tr("Please Wait, Importing your files..."), KMessageWidget::Information);
i--; // so we re-try this file
continue;
}
failedParses.append(fileNames.at(i));
}
}
getNotificationWidget()->hideNotification();
process_dives(false, false);
addRecentFile(fileNames);
removeRecentFile(failedParses);