summaryrefslogtreecommitdiffstats
path: root/core/fulltext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fulltext.cpp')
-rw-r--r--core/fulltext.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fulltext.cpp b/core/fulltext.cpp
index 78988b1ab..084b0019b 100644
--- a/core/fulltext.cpp
+++ b/core/fulltext.cpp
@@ -18,7 +18,7 @@ class FullText {
std::map<QString, std::vector<dive *>> words; // Dives that belong to each word
public:
- void reload(); // Rebuild from current dive_table
+ void populate(); // Rebuild from current dive_table
void registerDive(struct dive *d); // Note: can be called repeatedly
void unregisterDive(struct dive *d); // Note: can be called repeatedly
void unregisterAll(); // Unregister all dives in the dive table
@@ -51,9 +51,9 @@ void fulltext_unregister_all()
self.unregisterAll();
}
-void fulltext_reload()
+void fulltext_populate()
{
- self.reload();
+ self.populate();
}
} // extern "C"
@@ -141,7 +141,7 @@ static std::vector<QString> getWords(const dive *d)
return res;
}
-void FullText::reload()
+void FullText::populate()
{
// we want this to be two calls as the second text is overwritten below by the lines starting with "\r"
uiNotification(QObject::tr("Create full text index"));