From edce799492f06b35cf9c97948845daa75852bb08 Mon Sep 17 00:00:00 2001 From: Valentino Orlandi Date: Tue, 18 Oct 2022 22:17:36 +0200 Subject: [PATCH] Update --- logdoctor/mainwindow.cpp | 2 +- logdoctor/mainwindow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/logdoctor/mainwindow.cpp b/logdoctor/mainwindow.cpp index 3f4a7259..db38ef5e 100644 --- a/logdoctor/mainwindow.cpp +++ b/logdoctor/mainwindow.cpp @@ -1517,7 +1517,7 @@ void MainWindow::menu_actionSnake_triggered() } else { delete this->snake; - this->snake = new Snake( this->palette() ); + this->snake = new Snake( this->palette(), this->FONTS.at("script") ); this->snake->show(); } } diff --git a/logdoctor/mainwindow.h b/logdoctor/mainwindow.h index a2ad821e..a06ef036 100644 --- a/logdoctor/mainwindow.h +++ b/logdoctor/mainwindow.h @@ -679,7 +679,7 @@ private: //// CRAPGAMES //// /////////////////// CrissCross* crisscross = new CrissCross( QPalette() ); - Snake* snake = new Snake( QPalette() ); + Snake* snake = new Snake( QPalette(), QFont() ); }; #endif // MAINWINDOW_H