diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-02 22:04:52 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-02 22:18:33 -0400 |
commit | db340f640274da26dec7a60fe00a9814d4165dcd (patch) | |
tree | 5e66c3beb2205987994ea1a7afcff45d982f129b /src/yuzu/debugger/graphics/graphics_surface.h | |
parent | a03c644aed943397f7a4e44715a167e0471b6262 (diff) |
yuzu: Use Qt 5 signal/slots where applicable
Makes the signal/slot connections type-safe instead of string-based.
Diffstat (limited to 'src/yuzu/debugger/graphics/graphics_surface.h')
-rw-r--r-- | src/yuzu/debugger/graphics/graphics_surface.h | 9 |
1 files changed, 4 insertions, 5 deletions
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; |