Skip to content

Commit

Permalink
updates: Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
plfiorini committed Jan 15, 2024
1 parent 30c9407 commit dfba1a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/modules/updates/softwareupdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,14 @@ void SoftwareUpdate::setTransaction(Transaction *transaction)
}
});

Q_EMIT currentTransactionChanged(m_transaction);
Q_EMIT currentTransactionChanged();
}

void SoftwareUpdate::unsetTransaction()
{
if (m_transaction) {
disconnect(m_transactionConnection);
m_transaction.clear();
Q_EMIT currentTransactionChanged(nullptr);
Q_EMIT currentTransactionChanged();
}
}
2 changes: 1 addition & 1 deletion src/modules/updates/softwareupdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class SoftwareUpdate : public QObject, public QQmlParserStatus
Q_SIGNALS:
void informationChanged();
void versionChanged();
void currentTransactionChanged(Transaction *transaction);
void currentTransactionChanged();

private:
RpmOstreeBackend *m_backend = nullptr;
Expand Down

0 comments on commit dfba1a7

Please sign in to comment.