feat: don't show full word-list on startup
This commit is contained in:
parent
c191e7bd6a
commit
510deb2d54
@ -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) {
|
||||||
|
Reference in New Issue
Block a user