mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 15:32:52 +00:00
cleaning up
This commit is contained in:
parent
218aeba531
commit
7aa17d03d9
@ -161,7 +161,7 @@ void MainWindow::toggleFullscreen() {
|
||||
}
|
||||
|
||||
void MainWindow::AddUiWidgets() {
|
||||
// Add toolbar widgets
|
||||
// add toolbar widgets
|
||||
QApplication::setStyle("Fusion");
|
||||
ui->toolBar->setObjectName("mw_toolbar");
|
||||
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user