mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 17:35:00 -06:00
Check directly if container is empty or not
This commit is contained in:
@@ -107,7 +107,7 @@ class downloadFromURL : public QDialog, private Ui::downloadFromURL
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!url_list_cleaned.size()) {
|
||||
if (url_list_cleaned.isEmpty()) {
|
||||
QMessageBox::warning(this, tr("No URL entered"), tr("Please type at least one URL."));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user