CScanEditor: Make use of Qt 5 signals and slots

This commit is contained in:
Lioncash 2020-06-29 02:48:19 -04:00
parent 8f9da5c5ed
commit 3118996cfa
1 changed files with 3 additions and 3 deletions

View File

@ -15,8 +15,8 @@ CScanEditor::CScanEditor(CScan* pScan, QWidget* pParent)
WindowTitle = WindowTitle.arg(TO_QSTRING(mpScan->Entry()->CookedAssetPath(true).GetFileName()));
SET_WINDOWTITLE_APPVARS(WindowTitle);
connect( mpUI->ActionSave, SIGNAL(toggled(bool)), this, SLOT(Save()) );
connect( mpUI->ActionSaveAndCook, SIGNAL(toggled(bool)), this, SLOT(SaveAndRepack()) );
connect(mpUI->ActionSave, &QAction::toggled, this, &CScanEditor::Save);
connect(mpUI->ActionSaveAndCook, &QAction::toggled, this, &CScanEditor::SaveAndRepack);
}
CScanEditor::~CScanEditor() = default;