mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user