From 7aa17d03d963c6f553ddb463649ef55c4956dc6b Mon Sep 17 00:00:00 2001 From: Dmugetsu Date: Mon, 10 Mar 2025 20:40:58 -0600 Subject: [PATCH] cleaning up --- src/qt_gui/main_window.cpp | 2 +- src/sdl_window.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/qt_gui/main_window.cpp b/src/qt_gui/main_window.cpp index a26953752..0215c2b7f 100644 --- a/src/qt_gui/main_window.cpp +++ b/src/qt_gui/main_window.cpp @@ -161,7 +161,7 @@ void MainWindow::toggleFullscreen() { } void MainWindow::AddUiWidgets() { - // Add toolbar widgets + // add toolbar widgets QApplication::setStyle("Fusion"); ui->toolBar->setObjectName("mw_toolbar"); diff --git a/src/sdl_window.cpp b/src/sdl_window.cpp index 5746d2d7f..bf7e76873 100644 --- a/src/sdl_window.cpp +++ b/src/sdl_window.cpp @@ -255,10 +255,9 @@ static Uint32 SDLCALL PollController(void* userdata, SDL_TimerID timer_id, Uint3 return controller->Poll(); } -WindowSDL::WindowSDL(s32 width, s32 height, Input::GameController* controller, +WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_, std::string_view window_title) - : width(width), height(height), controller(controller), is_open(true), is_shown(true), - is_paused(false) { + : width{width_}, height{height_}, controller{controller_} { if (!SDL_SetHint(SDL_HINT_APP_NAME, "shadPS4")) { UNREACHABLE_MSG("Failed to set SDL window hint: {}", SDL_GetError()); }