mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
added warning about random FT strategy on windows
This commit is contained in:
parent
438489fb01
commit
c278239f97
3 changed files with 17 additions and 4 deletions
|
@ -2244,6 +2244,10 @@ void TransfersDialog::chunkStreaming()
|
|||
}
|
||||
void TransfersDialog::chunkRandom()
|
||||
{
|
||||
#ifdef WINDOWS_SYS
|
||||
if(QMessageBox::Yes != QMessageBox::warning(nullptr,tr("Warning"),tr("On Windows systems, writing in the middle of large empty files may hang the software for several seconds. Do you want to use this option anyway?"),QMessageBox::Yes,QMessageBox::No))
|
||||
return;
|
||||
#endif
|
||||
setChunkStrategy(FileChunksInfo::CHUNK_STRATEGY_RANDOM) ;
|
||||
}
|
||||
void TransfersDialog::chunkProgressive()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue