mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Rewritten most of the code for options
- Fix: Could only listen on the 1st port of given range - Fix: Option "use torrent addition dialog" wasn't saved correctly
This commit is contained in:
parent
719ac93024
commit
0722195cad
3 changed files with 196 additions and 333 deletions
|
@ -42,8 +42,8 @@ class options_imp : public QDialog, private Ui::Dialog{
|
|||
options_imp(QWidget *parent=0);
|
||||
|
||||
// Methods
|
||||
bool saveOptions();
|
||||
bool loadOptions();
|
||||
void saveOptions();
|
||||
void loadOptions();
|
||||
// Main options
|
||||
std::pair<unsigned short, unsigned short> getPorts() const;
|
||||
QPair<int,int> getLimits() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue