mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-06 15:15:00 -06:00
tiny style fixes
This commit is contained in:
parent
9ede04c4b9
commit
7c8b915ba1
@ -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);
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user