mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 03:06:37 +03:00
- Display current version in fields when the combobox value is changed (Peer ID spoofing)
This commit is contained in:
parent
2168d5a30e
commit
77b4d97069
1 changed files with 3 additions and 3 deletions
|
@ -805,7 +805,7 @@ void options_imp::enableSpoofingSettings(int index) {
|
|||
resetPeerVersion_button->setEnabled(true);
|
||||
version_label->setEnabled(true);
|
||||
client_version->setEnabled(true);
|
||||
client_version->setText(Preferences::getClientVersion());
|
||||
client_version->setText(Preferences::getDefaultClientVersion("AZ"));
|
||||
build_label->setEnabled(false);
|
||||
client_build->setEnabled(false);
|
||||
client_build->clear();
|
||||
|
@ -814,10 +814,10 @@ void options_imp::enableSpoofingSettings(int index) {
|
|||
resetPeerVersion_button->setEnabled(true);
|
||||
version_label->setEnabled(true);
|
||||
client_version->setEnabled(true);
|
||||
client_version->setText(Preferences::getClientVersion());
|
||||
client_version->setText(Preferences::getDefaultClientVersion("UT"));
|
||||
build_label->setEnabled(true);
|
||||
client_build->setEnabled(true);
|
||||
client_build->setText(Preferences::getClientBuild());
|
||||
client_build->setText(Preferences::getDefaultClientBuild("UT"));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue