From 781bbaef0e8cdb59a440880eae49d4b03453f8c8 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 29 Jun 2020 04:58:58 -0400 Subject: [PATCH] CTweakEditor: Make use of Qt 5 signals and slots --- src/Editor/CTweakEditor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Editor/CTweakEditor.cpp b/src/Editor/CTweakEditor.cpp index 856a0540..cb559078 100644 --- a/src/Editor/CTweakEditor.cpp +++ b/src/Editor/CTweakEditor.cpp @@ -32,9 +32,9 @@ CTweakEditor::CTweakEditor(QWidget* pParent) AddUndoActions(mpUI->ToolBar); SET_WINDOWTITLE_APPVARS("%APP_FULL_NAME% - Tweak Editor[*]"); - connect(mpUI->TweakTabs, SIGNAL(currentChanged(int)), this, SLOT(OnTweakTabClicked(int))); - connect(mpUI->ActionSave, SIGNAL(triggered(bool)), this, SLOT(Save())); - connect(mpUI->ActionSaveAndRepack, SIGNAL(triggered(bool)), this, SLOT(SaveAndRepack())); + connect(mpUI->TweakTabs, &QTabBar::currentChanged, this, &CTweakEditor::OnTweakTabClicked); + connect(mpUI->ActionSave, &QAction::triggered, this, &CTweakEditor::Save); + connect(mpUI->ActionSaveAndRepack, &QAction::triggered, this, &CTweakEditor::SaveAndRepack); } CTweakEditor::~CTweakEditor() = default;