From a43049f6880c2da7d71a6eb9bd7acf6dd95e7b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Szalecki?= Date: Sat, 21 Jan 2017 00:16:30 +0100 Subject: [PATCH] Fixed initial graying out options in Cube Effect settings Typically after deselecting "Show caps" option, the associated options "Cap color" and "Display image on caps" are grayed out (triggered by signal). The bug was when Desktop Cube settings were closed and opened again then the options were not grayed out. Succesfully compiled and tested by deselecting "Show caps" option in Desktop Cube settings, closing the settings window and opening it once again. The options "Cap color" and "Display image on caps" were then grayed out. REVIEW: 129194 --- effects/cube/cube_config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/effects/cube/cube_config.cpp b/effects/cube/cube_config.cpp index 9bae19277a..0939b67254 100644 --- a/effects/cube/cube_config.cpp +++ b/effects/cube/cube_config.cpp @@ -82,6 +82,7 @@ CubeEffectConfig::CubeEffectConfig(QWidget* parent, const QVariantList& args) : m_ui->editor->addCollection(m_actionCollection); + capsSelectionChanged(); connect(m_ui->kcfg_Caps, SIGNAL(stateChanged(int)), this, SLOT(capsSelectionChanged())); m_ui->kcfg_Wallpaper->setFilter(QStringLiteral("*.png *.jpeg *.jpg ")); addConfig(CubeConfig::self(), m_ui);