Improve AdvancedSettings::addRow()

1. Add context to connect().
2. Use QLabel in the left table cell, this allows using rich text formatting, such as HTML links.
This commit is contained in:
Chocobo1 2019-03-07 15:31:50 +08:00
parent ccd8f3e0f1
commit f9e10616d0
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 12 additions and 13 deletions

View file

@ -56,7 +56,7 @@ private slots:
private:
void loadAdvancedSettings();
template <typename T> void addRow(int row, const QString &rowText, T *widget);
template <typename T> void addRow(int row, const QString &text, T *widget);
QLabel labelQbtLink, labelLibtorrentLink;
QSpinBox spinBoxAsyncIOThreads, spinBoxCheckingMemUsage, spinBoxCache, spinBoxSaveResumeDataInterval, spinBoxOutgoingPortsMin, spinBoxOutgoingPortsMax, spinBoxListRefresh, spinBoxMaxHalfOpen,