mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Rename setRow() to addRow()
Use template to avoid code duplication
This commit is contained in:
@@ -54,10 +54,7 @@ private slots:
|
||||
|
||||
private:
|
||||
void loadAdvancedSettings();
|
||||
void setRow(int row, const QString &property, QSpinBox* editor);
|
||||
void setRow(int row, const QString &property, QComboBox* editor);
|
||||
void setRow(int row, const QString &property, QCheckBox* editor);
|
||||
void setRow(int row, const QString &property, QLineEdit* editor);
|
||||
template <typename T> void addRow(int row, const QString &rowText, T* widget);
|
||||
|
||||
QSpinBox spin_cache, spin_save_resume_data_interval, outgoing_ports_min, outgoing_ports_max, spin_list_refresh, spin_maxhalfopen, spin_tracker_port, spin_cache_ttl;
|
||||
QCheckBox cb_os_cache, cb_recheck_completed, cb_resolve_countries, cb_resolve_hosts,
|
||||
|
||||
Reference in New Issue
Block a user