Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/common/dbus/updatedbusproxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,12 @@
return qvariant_cast<bool>(m_updateInter->property("P2PUpdateEnable"));
}

bool UpdateDBusProxy::p2PUpdateSupport()

Check warning on line 215 in src/common/dbus/updatedbusproxy.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

The function 'p2PUpdateSupport' is never used.
{
return true;
// return qvariant_cast<bool>(m_updateInter->property("P2PUpdateSupport"));
return qvariant_cast<bool>(m_updateInter->property("P2PUpdateSupport"));
}

bool UpdateDBusProxy::immutableAutoRecovery()

Check warning on line 220 in src/common/dbus/updatedbusproxy.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

The function 'immutableAutoRecovery' is never used.
{
return qvariant_cast<bool>(m_managerInter->property("ImmutableAutoRecovery"));
}
Expand Down
1 change: 1 addition & 0 deletions src/dcc-update-plugin/operation/updatemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class UpdateModel : public QObject
Q_PROPERTY(bool upgradeDownloadSpeedIsOnline READ upgradeDownloadSpeedIsOnline NOTIFY upgradeDownloadSpeedLimitConfigChanged FINAL)
Q_PROPERTY(QString upgradeUploadSpeedCurrentRate READ upgradeUploadSpeedCurrentRate NOTIFY upgradeUploadSpeedLimitConfigChanged FINAL)
Q_PROPERTY(QString upgradeUploadSpeedLimitRate READ upgradeUploadSpeedLimitRate NOTIFY upgradeUploadSpeedLimitConfigChanged FINAL)
Q_PROPERTY(bool upgradeUploadSpeedIsOnline READ upgradeUploadSpeedIsOnline NOTIFY upgradeUploadSpeedLimitConfigChanged FINAL)
Q_PROPERTY(bool upgradeUploadSpeedEnable READ upgradeUploadSpeedEnable NOTIFY upgradeUploadSpeedLimitConfigChanged FINAL)
Q_PROPERTY(bool upgradeDeliveryEnable READ upgradeDeliveryEnable NOTIFY upgradeDeliveryEnableChanged FINAL)
Q_PROPERTY(bool p2pUpdateEnabled READ isP2PUpdateEnabled NOTIFY p2pUpdateEnableStateChanged FINAL)
Expand Down
Loading