Replace emit with Q_EMIT

This commit is contained in:
Jonas Kvinge
2024-08-25 01:06:30 +02:00
parent cb0db8750f
commit 8da616491d
158 changed files with 891 additions and 891 deletions

View File

@@ -47,7 +47,7 @@ void FavoriteWidget::SetFavorite(const bool favorite) {
if (favorite_ != favorite) {
favorite_ = favorite;
update();
emit FavoriteStateChanged(tab_index_, favorite_);
Q_EMIT FavoriteStateChanged(tab_index_, favorite_);
}
}
@@ -85,6 +85,6 @@ void FavoriteWidget::mouseDoubleClickEvent(QMouseEvent*) {
favorite_ = !favorite_;
update();
emit FavoriteStateChanged(tab_index_, favorite_);
Q_EMIT FavoriteStateChanged(tab_index_, favorite_);
}