From 7426f474711d903c8a559232e241589a92f5e4e1 Mon Sep 17 00:00:00 2001 From: garak Date: Tue, 29 Apr 2025 15:59:53 -0400 Subject: [PATCH] clean up --- include/ui/loadingscreen.h | 10 ++-------- src/ui/loadingscreen.cpp | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/include/ui/loadingscreen.h b/include/ui/loadingscreen.h index af3e4f6f..df55b01c 100644 --- a/include/ui/loadingscreen.h +++ b/include/ui/loadingscreen.h @@ -4,18 +4,12 @@ #include #include + + namespace Ui { class LoadingScreen; } -// Loading class -// LOAD() // or Offload() OFFLOAD() WorkerThread() -// function that wraps around QFuture and QtConcurrent, does not block gui thread -// can call any other function that is not directly painting the gui on another thread - -// Execute function while playing loading screen and display text -// void executeLoadingScreen(QString text, void (*function)(void)); - class PorymapLoadingScreen : public QWidget { Q_OBJECT diff --git a/src/ui/loadingscreen.cpp b/src/ui/loadingscreen.cpp index 9cb08be1..f21d0c86 100644 --- a/src/ui/loadingscreen.cpp +++ b/src/ui/loadingscreen.cpp @@ -1,4 +1,3 @@ - #include "loadingscreen.h" #include "aboutporymap.h" #include "ui_loadingscreen.h"