mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 04:24:23 +00:00
- Display current version in fields when the combobox value is changed (Peer ID spoofing)
This commit is contained in:
parent
2168d5a30e
commit
77b4d97069
@ -805,7 +805,7 @@ void options_imp::enableSpoofingSettings(int index) {
|
|||||||
resetPeerVersion_button->setEnabled(true);
|
resetPeerVersion_button->setEnabled(true);
|
||||||
version_label->setEnabled(true);
|
version_label->setEnabled(true);
|
||||||
client_version->setEnabled(true);
|
client_version->setEnabled(true);
|
||||||
client_version->setText(Preferences::getClientVersion());
|
client_version->setText(Preferences::getDefaultClientVersion("AZ"));
|
||||||
build_label->setEnabled(false);
|
build_label->setEnabled(false);
|
||||||
client_build->setEnabled(false);
|
client_build->setEnabled(false);
|
||||||
client_build->clear();
|
client_build->clear();
|
||||||
@ -814,10 +814,10 @@ void options_imp::enableSpoofingSettings(int index) {
|
|||||||
resetPeerVersion_button->setEnabled(true);
|
resetPeerVersion_button->setEnabled(true);
|
||||||
version_label->setEnabled(true);
|
version_label->setEnabled(true);
|
||||||
client_version->setEnabled(true);
|
client_version->setEnabled(true);
|
||||||
client_version->setText(Preferences::getClientVersion());
|
client_version->setText(Preferences::getDefaultClientVersion("UT"));
|
||||||
build_label->setEnabled(true);
|
build_label->setEnabled(true);
|
||||||
client_build->setEnabled(true);
|
client_build->setEnabled(true);
|
||||||
client_build->setText(Preferences::getClientBuild());
|
client_build->setText(Preferences::getDefaultClientBuild("UT"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user