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
+1 -1
View File
@@ -451,7 +451,7 @@ IndirectChannel::IndirectChannel(ChannelPtr channel, Channel::Type type)
ChannelPtr IndirectChannel::get() const
{
return data_->channel;
return this->data_->channel;
}
void IndirectChannel::reset(ChannelPtr channel)
+1 -1
View File
@@ -138,7 +138,7 @@ public:
return QVariant();
}
return rows_[row].items[column]->data(role);
return this->rows_[row].items[column]->data(role);
}
bool setData(const QModelIndex &index, const QVariant &value,
+1 -1
View File
@@ -300,7 +300,7 @@ void WindowLayout::activateOrAddChannel(ProviderId provider,
this->score += 2;
if (split.channelName_ == this->spec)
{
hasChannel = true;
this->hasChannel = true;
if (!split.filters_.empty())
{
this->score += 1;