mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
- Moved "Transfer list refresh interval" to advanced settings
This commit is contained in:
parent
77239db3c5
commit
1a4f638ff6
5 changed files with 25 additions and 62 deletions
|
@ -186,7 +186,6 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
|
|||
connect(comboStyle, SIGNAL(currentIndexChanged(int)), this, SLOT(enableApplyButton()));
|
||||
connect(checkConfirmExit, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton()));
|
||||
connect(checkSpeedInTitle, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton()));
|
||||
connect(spinRefreshInterval, SIGNAL(valueChanged(QString)), this, SLOT(enableApplyButton()));
|
||||
connect(checkAltRowColors, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton()));
|
||||
connect(checkNoSystray, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton()));
|
||||
connect(checkCloseToSystray, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton()));
|
||||
|
@ -380,7 +379,6 @@ void options_imp::saveOptions(){
|
|||
settings.setValue(QString::fromUtf8("Style"), getStyle());
|
||||
settings.setValue(QString::fromUtf8("ExitConfirm"), confirmOnExit());
|
||||
settings.setValue(QString::fromUtf8("SpeedInTitleBar"), speedInTitleBar());
|
||||
settings.setValue(QString::fromUtf8("RefreshInterval"), getRefreshInterval());
|
||||
settings.setValue(QString::fromUtf8("AlternatingRowColors"), checkAltRowColors->isChecked());
|
||||
settings.setValue(QString::fromUtf8("SystrayEnabled"), systrayIntegration());
|
||||
settings.setValue(QString::fromUtf8("CloseToTray"), closeToTray());
|
||||
|
@ -596,7 +594,6 @@ void options_imp::loadOptions(){
|
|||
setStyle(Preferences::getStyle());
|
||||
checkConfirmExit->setChecked(Preferences::confirmOnExit());
|
||||
checkSpeedInTitle->setChecked(Preferences::speedInTitleBar());
|
||||
spinRefreshInterval->setValue(Preferences::getRefreshInterval());
|
||||
checkAltRowColors->setChecked(Preferences::useAlternatingRowColors());
|
||||
checkNoSystray->setChecked(!Preferences::systrayIntegration());
|
||||
checkDisplayToolbar->setChecked(Preferences::isToolbarDisplayed());
|
||||
|
@ -962,10 +959,6 @@ bool options_imp::closeToTray() const{
|
|||
return checkCloseToSystray->isChecked();
|
||||
}
|
||||
|
||||
unsigned int options_imp::getRefreshInterval() const {
|
||||
return spinRefreshInterval->value();
|
||||
}
|
||||
|
||||
bool options_imp::confirmOnExit() const{
|
||||
return checkConfirmExit->isChecked();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue