_home();
}
-void DirectoryView::updateGradient() {
+void DirectoryView::checkGradient() {
Config config;
if (config.getValue("ui/gradient").toString() == "yes") {
ui->bottomWidget->setStyleSheet(_bottom_gradient);
connect(_settings_form, SIGNAL(iconsChanged()), _directory_form, SLOT(updateIcons()));
connect(_settings_form, SIGNAL(gradientChanged()), _player_form, SLOT(checkGradient()));
connect(_settings_form, SIGNAL(gradientChanged()), _library_form, SLOT(checkGradient()));
+ connect(_settings_form, SIGNAL(gradientChanged()), _directory_form, SLOT(checkGradient()));
connect(_settings_form, SIGNAL(libraryOptionsChanged()), _library_form, SLOT(refresh()));
connect(_settings_form, SIGNAL(orientationChanged()), this, SLOT(_change_orientation()));
connect(_settings_form, SIGNAL(translationChanged()), this, SLOT(updateTranslations()));
_directory_form->updateIcons();
_player_form->checkGradient();
_library_form->checkGradient();
- _directory_form->updateGradient();
+ _directory_form->checkGradient();
setWindowTitle("SomePlayer");
}