From db340f640274da26dec7a60fe00a9814d4165dcd Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 2 Aug 2018 22:04:52 -0400 Subject: yuzu: Use Qt 5 signal/slots where applicable Makes the signal/slot connections type-safe instead of string-based. --- src/yuzu/debugger/graphics/graphics_surface.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/yuzu/debugger/graphics/graphics_surface.h') diff --git a/src/yuzu/debugger/graphics/graphics_surface.h b/src/yuzu/debugger/graphics/graphics_surface.h index 6a344bdfc..58f9db465 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.h +++ b/src/yuzu/debugger/graphics/graphics_surface.h @@ -65,16 +65,15 @@ public slots: void OnSurfacePickerYChanged(int new_value); void OnUpdate(); -private slots: +signals: + void Update(); + +private: void OnBreakPointHit(Tegra::DebugContext::Event event, void* data) override; void OnResumed() override; void SaveSurface(); -signals: - void Update(); - -private: QComboBox* surface_source_list; CSpinBox* surface_address_control; QSpinBox* surface_width_control; -- cgit v1.2.3