main
mandlm 2024-03-20 10:59:07 +01:00
parent 9a855daabf
commit c191e7bd6a
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
#include "word_list_generator.h"
#include <thread>
#include <sstream>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent), ui(new Ui::MainWindow) {
@ -37,7 +38,7 @@ void MainWindow::generateWordList() {
ui->mainStatusBar->showMessage(QString::fromStdString(status_message.str()));
QStringList words;
for (auto word : word_list_) {
for (const auto &word : word_list_) {
words.append(QString::fromStdString(word));
}

View File

@ -1,6 +1,7 @@
#pragma once
#include <chrono>
#include <ostream>
class Timer {
private: