feat: don't show full word-list on startup

This commit is contained in:
Michael Mandl 2024-03-20 13:24:28 +01:00
parent c191e7bd6a
commit 510deb2d54
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -36,13 +36,6 @@ void MainWindow::generateWordList() {
std::stringstream status_message; std::stringstream status_message;
status_message << "generated " << word_list_.size() << " words in " << timer; status_message << "generated " << word_list_.size() << " words in " << timer;
ui->mainStatusBar->showMessage(QString::fromStdString(status_message.str())); ui->mainStatusBar->showMessage(QString::fromStdString(status_message.str()));
QStringList words;
for (const auto &word : word_list_) {
words.append(QString::fromStdString(word));
}
result_model_.setStringList(words);
} }
void MainWindow::search(const QString &search_term) { void MainWindow::search(const QString &search_term) {