Add pointer qualifications to auto-typed variables

This commit is contained in:
Chocobo1
2023-05-05 03:07:26 +08:00
parent 8c9b6e2f2d
commit e408973ee6
27 changed files with 78 additions and 78 deletions

View File

@@ -124,7 +124,7 @@ private:
void showColorDialog()
{
auto dialog = new QColorDialog(m_currentColor, this);
auto *dialog = new QColorDialog(m_currentColor, this);
dialog->setAttribute(Qt::WA_DeleteOnClose);
connect(dialog, &QDialog::accepted, this, [this, dialog]
{