Minor changes in the download dialog
This commit is contained in:
parent
d2cdd1d901
commit
a1d170681c
@ -36,6 +36,8 @@ DownloadDialog::~DownloadDialog()
|
|||||||
|
|
||||||
void DownloadDialog::beginDownload(const QUrl &url)
|
void DownloadDialog::beginDownload(const QUrl &url)
|
||||||
{
|
{
|
||||||
|
Q_ASSERT(!url.isEmpty());
|
||||||
|
|
||||||
// Reset the UI
|
// Reset the UI
|
||||||
ui->progressBar->setValue(0);
|
ui->progressBar->setValue(0);
|
||||||
ui->installButton->setEnabled(false);
|
ui->installButton->setEnabled(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user