mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
update retry netjob dialog
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -62,6 +62,7 @@ class NetJob : public ConcurrentTask {
|
||||
|
||||
auto getFailedActions() -> QList<Net::NetRequest*>;
|
||||
auto getFailedFiles() -> QList<QString>;
|
||||
void setAskRetry(bool askRetry);
|
||||
|
||||
public slots:
|
||||
// Qt can't handle auto at the start for some reason?
|
||||
@ -78,4 +79,6 @@ class NetJob : public ConcurrentTask {
|
||||
shared_qobject_ptr<QNetworkAccessManager> m_network;
|
||||
|
||||
int m_try = 1;
|
||||
bool m_ask_retry = true;
|
||||
int m_manual_try = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user