refactor: add explicit this-> where possible

I have knowingly skipped some files/portions of files where this would
create merge conflicts for other open PRs.
This commit is contained in:
Rasmus Karlsson
2025-12-30 13:30:57 +01:00
committed by pajlada
parent e0101f71c2
commit 57d6583a2b
64 changed files with 180 additions and 177 deletions
@@ -90,7 +90,7 @@ ExternalToolsPage::ExternalToolsPage()
y->addWidget(z);
this->setLayout(y);
this->initLayout(*view);
this->initLayout(*this->view);
}
bool ExternalToolsPage::filterElements(const QString &query)
@@ -77,7 +77,7 @@ KeyboardSettingsPage::KeyboardSettingsPage()
}
});
QObject::connect(view_->getTableView(), &QTableView::doubleClicked,
QObject::connect(this->view_->getTableView(), &QTableView::doubleClicked,
[view, model](const QModelIndex &clicked) {
tableCellClicked(clicked, view, model);
});
+1 -1
View File
@@ -35,7 +35,7 @@ SettingWidget::SettingWidget(const QString &mainKeyword)
this->vLayout->setContentsMargins(0, 0, 0, 0);
this->hLayout->setContentsMargins(0, 0, 0, 0);
this->vLayout->addLayout(hLayout);
this->vLayout->addLayout(this->hLayout);
this->keywords.append(mainKeyword);
}