Minor cleanup.

This commit is contained in:
Adam Treat 2023-04-22 16:39:32 -04:00
parent cca2a88e47
commit 993a43d33a

View File

@ -1,7 +1,6 @@
#ifndef DOWNLOAD_H #ifndef DOWNLOAD_H
#define DOWNLOAD_H #define DOWNLOAD_H
#include <QObject>
#include <QObject> #include <QObject>
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
#include <QNetworkReply> #include <QNetworkReply>
@ -38,7 +37,7 @@ public:
Q_INVOKABLE void downloadModel(const QString &modelFile); Q_INVOKABLE void downloadModel(const QString &modelFile);
Q_INVOKABLE void cancelDownload(const QString &modelFile); Q_INVOKABLE void cancelDownload(const QString &modelFile);
public Q_SLOTS: private Q_SLOTS:
void handleJsonDownloadFinished(); void handleJsonDownloadFinished();
void handleDownloadProgress(qint64 bytesReceived, qint64 bytesTotal); void handleDownloadProgress(qint64 bytesReceived, qint64 bytesTotal);
void handleModelDownloadFinished(); void handleModelDownloadFinished();