Improve structure of AddNewTorrentDialog code
commitb8a774f1fbe5a1c4db63a54f419b502c784ae4ae
authorVladimir Golovnev <glassez@yandex.ru>
Sat, 18 May 2024 07:38:49 +0000 (18 10:38 +0300)
committerGitHub <noreply@github.com>
Sat, 18 May 2024 07:38:49 +0000 (18 10:38 +0300)
tree2c1e6c545d1d91286ee8e3d07eff80b18e075c3c
parente09a871ca30293d6632d607cc6bd11688b24ba8c
Improve structure of AddNewTorrentDialog code

Restructures the code to separate the basic logic from the logic that depends on the parameters and properties of the torrent being added.
Also fixes "Never show again" checkbox functionality.

PR #20848.
src/gui/addnewtorrentdialog.cpp
src/gui/addnewtorrentdialog.h
src/gui/addnewtorrentdialog.ui
src/gui/guiaddtorrentmanager.cpp