mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
add config for transfer timeout
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -106,7 +106,11 @@ void NetRequest::executeTask()
|
||||
}
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
#if defined(LAUNCHER_APPLICATION)
|
||||
request.setTransferTimeout(APPLICATION->settings()->get("DownlodTransferTimeout").toInt() * 1000);
|
||||
#else
|
||||
request.setTransferTimeout();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
m_last_progress_time = m_clock.now();
|
||||
|
Reference in New Issue
Block a user