aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/fulltext.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/core/fulltext.cpp b/core/fulltext.cpp
index 56b7b2dcc..8bd41e7ff 100644
--- a/core/fulltext.cpp
+++ b/core/fulltext.cpp
@@ -148,14 +148,9 @@ void FullText::populate()
uiNotification(QObject::tr("start processing"));
int i;
dive *d;
- for_each_dive(i, d) {
- // this makes sure that every once in a while we allow the
- // UI to respond to events
- if (i % 100 == 99)
- uiNotification(QObject::tr("\r%1 dives processed").arg(i + 1));
+ for_each_dive(i, d)
registerDive(d);
- }
- uiNotification(QObject::tr("\r%1 dives processed").arg(dive_table.nr));
+ uiNotification(QObject::tr("%1 dives processed").arg(dive_table.nr));
}
void FullText::registerDive(struct dive *d)