cleaning up

This commit is contained in:
Dmugetsu 2025-03-10 20:40:58 -06:00
parent 218aeba531
commit 7aa17d03d9
2 changed files with 3 additions and 4 deletions

View File

@ -161,7 +161,7 @@ void MainWindow::toggleFullscreen() {
}
void MainWindow::AddUiWidgets() {
// Add toolbar widgets
// add toolbar widgets
QApplication::setStyle("Fusion");
ui->toolBar->setObjectName("mw_toolbar");

View File

@ -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());
}