tiny style fixes

This commit is contained in:
Megamouse 2026-02-25 09:01:08 +01:00
parent 9ede04c4b9
commit 7c8b915ba1
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ namespace rpcs3
std::string title_id; std::string title_id;
std::string renderer; std::string renderer;
std::string vulkan_adapter; std::string vulkan_adapter;
double fps = .0; double fps = 0.0;
}; };
std::string get_formatted_title(const title_format_data& title_data); std::string get_formatted_title(const title_format_data& title_data);

View File

@ -205,12 +205,12 @@ void gs_frame::update_shortcuts()
} }
} }
void gs_frame::paintEvent(QPaintEvent *event) void gs_frame::paintEvent(QPaintEvent* event)
{ {
Q_UNUSED(event) Q_UNUSED(event)
} }
void gs_frame::showEvent(QShowEvent *event) void gs_frame::showEvent(QShowEvent* event)
{ {
// We have to calculate new window positions, since the frame is only known once the window was created. // We have to calculate new window positions, since the frame is only known once the window was created.
// We will try to find the originally requested dimensions if possible by moving the frame. // We will try to find the originally requested dimensions if possible by moving the frame.
@ -805,7 +805,7 @@ f64 gs_frame::client_display_rate()
return rate; return rate;
} }
void gs_frame::flip(draw_context_t, bool /*skip_frame*/) void gs_frame::flip(draw_context_t /*context*/, bool /*skip_frame*/)
{ {
static Timer fps_t; static Timer fps_t;

View File

@ -85,8 +85,8 @@ public:
protected: protected:
video_renderer m_renderer; video_renderer m_renderer;
void paintEvent(QPaintEvent *event) override; void paintEvent(QPaintEvent* event) override;
void showEvent(QShowEvent *event) override; void showEvent(QShowEvent* event) override;
void close() override; void close() override;
void reset() override; void reset() override;