mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
- COSMETIC: Use alternating row colors in transfer list (set in program preferences)
This commit is contained in:
parent
50e620daf2
commit
6f6e453ae4
5 changed files with 186 additions and 196 deletions
|
@ -181,6 +181,7 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
|
|||
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()));
|
||||
connect(checkMinimizeToSysTray, SIGNAL(toggled(bool)), this, SLOT(enableApplyButton()));
|
||||
|
@ -360,6 +361,7 @@ void options_imp::saveOptions(){
|
|||
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());
|
||||
settings.setValue(QString::fromUtf8("MinimizeToTray"), minimizeToTray());
|
||||
|
@ -565,6 +567,7 @@ void options_imp::loadOptions(){
|
|||
checkConfirmExit->setChecked(Preferences::confirmOnExit());
|
||||
checkSpeedInTitle->setChecked(Preferences::speedInTitleBar());
|
||||
spinRefreshInterval->setValue(Preferences::getRefreshInterval());
|
||||
checkAltRowColors->setChecked(Preferences::useAlternatingRowColors());
|
||||
checkNoSystray->setChecked(!Preferences::systrayIntegration());
|
||||
checkDisplayToolbar->setChecked(Preferences::isToolbarDisplayed());
|
||||
checkNoSplash->setChecked(Preferences::isSlashScreenDisabled());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue