Skip to content
Snippets Groups Projects
Commit a4cbbc99 authored by akiraohgaki's avatar akiraohgaki
Browse files

Fix type

parent 381d6b52
No related branches found
No related tags found
No related merge requests found
...@@ -229,7 +229,7 @@ void WebSocketServer::updateUpdateFinished(QString itemKey, bool status) ...@@ -229,7 +229,7 @@ void WebSocketServer::updateUpdateFinished(QString itemKey, bool status)
sendMessage("", "UpdateHandler::updateFinished", data); sendMessage("", "UpdateHandler::updateFinished", data);
} }
void WebSocketServer::updateUpdateProgress(QString itemKey, int progress) void WebSocketServer::updateUpdateProgress(QString itemKey, double progress)
{ {
QJsonArray data; QJsonArray data;
data.append(itemKey); data.append(itemKey);
......
...@@ -51,11 +51,11 @@ private slots: ...@@ -51,11 +51,11 @@ private slots:
void itemUninstallStarted(QJsonObject result); void itemUninstallStarted(QJsonObject result);
void itemUninstallFinished(QJsonObject result); void itemUninstallFinished(QJsonObject result);
void updateUpdateProgress(QString itemKey, int progress);
void updateCheckAllStarted(bool status); void updateCheckAllStarted(bool status);
void updateCheckAllFinished(bool status); void updateCheckAllFinished(bool status);
void updateUpdateStarted(QString itemKey, bool status); void updateUpdateStarted(QString itemKey, bool status);
void updateUpdateFinished(QString itemKey, bool status); void updateUpdateFinished(QString itemKey, bool status);
void updateUpdateProgress(QString itemKey, double progress);
private: private:
void receiveMessage(const QString &id, const QString &func, const QJsonArray &data); void receiveMessage(const QString &id, const QString &func, const QJsonArray &data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment