summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-02-28 00:42:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-28 12:42:50 +0100
commit100f4ee1a42358a4006531283725d98f0ccc7fb1 (patch)
treea06f701a3ad721dcb651472ec701bfc2b7daaa59 /qt-ui
parent90d68ead31e5471549eb4a537e3714e1eead8f86 (diff)
downloadsubsurface-100f4ee1a42358a4006531283725d98f0ccc7fb1.tar.gz
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>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 41669933b..75dfe6da4 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -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);