mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
parent
ab29b218af
commit
2261faabc5
1 changed files with 4 additions and 4 deletions
|
@ -423,8 +423,8 @@ void ImageWriter::pollProgress()
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
if (_taskbarButton)
|
if (_taskbarButton)
|
||||||
{
|
{
|
||||||
_taskbarButton->progress()->setMaximum(dlTotal);
|
_taskbarButton->progress()->setMaximum(dlTotal/1048576);
|
||||||
_taskbarButton->progress()->setValue(newDlNow);
|
_taskbarButton->progress()->setValue(newDlNow/1048576);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
emit downloadProgress(newDlNow, dlTotal);
|
emit downloadProgress(newDlNow, dlTotal);
|
||||||
|
@ -439,8 +439,8 @@ void ImageWriter::pollProgress()
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
if (_taskbarButton)
|
if (_taskbarButton)
|
||||||
{
|
{
|
||||||
_taskbarButton->progress()->setMaximum(verifyTotal);
|
_taskbarButton->progress()->setMaximum(verifyTotal/1048576);
|
||||||
_taskbarButton->progress()->setValue(newVerifyNow);
|
_taskbarButton->progress()->setValue(newVerifyNow/1048576);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
emit verifyProgress(newVerifyNow, verifyTotal);
|
emit verifyProgress(newVerifyNow, verifyTotal);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue