Fix proper signal type for UpdateReport

Change the signal type in `UpdaterThread.check_for_updates()` from
`dict` to `UpdateReport`. The `dict` parameter is stale and should have
never been used.
This commit is contained in:
Alex Pyrgiotis 2023-07-24 18:54:15 +03:00
parent 17ecde3173
commit 77b380e7df
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -76,7 +76,7 @@ class UpdaterThread(QtCore.QThread):
whoever has connected to it. whoever has connected to it.
""" """
finished = QtCore.Signal(dict) finished = QtCore.Signal(UpdateReport)
GH_RELEASE_URL = ( GH_RELEASE_URL = (
"https://api.github.com/repos/freedomofpress/dangerzone/releases/latest" "https://api.github.com/repos/freedomofpress/dangerzone/releases/latest"