Rename variable pDlg to dlg

This commit is contained in:
Daniel Marjamäki 2019-07-22 12:50:42 +02:00
parent 74bd2aa680
commit 82c6a72b48
1 changed files with 3 additions and 3 deletions

View File

@ -338,10 +338,10 @@ void SettingsDialog::setCodeEditorStyleDefault()
// Slot to edit custom style
void SettingsDialog::editCodeEditorStyle()
{
StyleEditDialog pDlg(*mCurrentStyle, this);
int nResult = pDlg.exec();
StyleEditDialog dlg(*mCurrentStyle, this);
int nResult = dlg.exec();
if (nResult == QDialog::Accepted) {
*mCurrentStyle = pDlg.getStyle();
*mCurrentStyle = dlg.getStyle();
manageStyleControls();
}
}