diff options
author | Lioncash <mathew1800@gmail.com> | 2018-01-19 02:03:13 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-01-19 02:09:40 +0100 |
commit | 5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df (patch) | |
tree | a2101a82095970dd41690a65d8a5c474d73ba81b /src/yuzu/debugger | |
parent | ui: Rename almost all classes in configuration_input.ui (#99) (diff) | |
download | yuzu-5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df.tar yuzu-5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df.tar.gz yuzu-5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df.tar.bz2 yuzu-5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df.tar.lz yuzu-5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df.tar.xz yuzu-5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df.tar.zst yuzu-5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df.zip |
Diffstat (limited to 'src/yuzu/debugger')
-rw-r--r-- | src/yuzu/debugger/profiler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cpp index cc9babe84..8b30e0a85 100644 --- a/src/yuzu/debugger/profiler.cpp +++ b/src/yuzu/debugger/profiler.cpp @@ -74,7 +74,7 @@ QAction* MicroProfileDialog::toggleViewAction() { toggle_view_action = new QAction(windowTitle(), this); toggle_view_action->setCheckable(true); toggle_view_action->setChecked(isVisible()); - connect(toggle_view_action, SIGNAL(toggled(bool)), SLOT(setVisible(bool))); + connect(toggle_view_action, &QAction::toggled, this, &MicroProfileDialog::setVisible); } return toggle_view_action; @@ -107,7 +107,8 @@ MicroProfileWidget::MicroProfileWidget(QWidget* parent) : QWidget(parent) { MicroProfileSetDisplayMode(1); // Timers screen MicroProfileInitUI(); - connect(&update_timer, SIGNAL(timeout()), SLOT(update())); + connect(&update_timer, &QTimer::timeout, this, + static_cast<void (MicroProfileWidget::*)()>(&MicroProfileWidget::update)); } void MicroProfileWidget::paintEvent(QPaintEvent* ev) { |