Rename variable pDlg to dlg
This commit is contained in:
parent
74bd2aa680
commit
82c6a72b48
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue