mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 01:57:07 -07:00
Initialize boolean variables
This commit is contained in:
parent
9c6bc6c89a
commit
48e7191ef7
4 changed files with 6 additions and 6 deletions
|
@ -482,7 +482,7 @@ void TrackerListWidget::editSelectedTracker()
|
|||
// During multi-select only process item selected last
|
||||
const QUrl trackerURL = selectedTrackerItems.last()->text(COL_URL);
|
||||
|
||||
bool ok;
|
||||
bool ok = false;
|
||||
const QUrl newTrackerURL = AutoExpandableDialog::getText(this, tr("Tracker editing"), tr("Tracker URL:"),
|
||||
QLineEdit::Normal, trackerURL.toString(), &ok).trimmed();
|
||||
if (!ok) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue