=== modified file 'src/gui/StelGuiItems.cpp' --- src/gui/StelGuiItems.cpp 2013-07-12 16:08:09 +0000 +++ src/gui/StelGuiItems.cpp 2013-07-27 12:48:10 +0000 @@ -21,6 +21,7 @@ #include "StelCore.hpp" #include "StelProjector.hpp" +#include "StelGui.hpp" #include "StelGuiItems.hpp" #include "StelLocaleMgr.hpp" #include "StelLocation.hpp" @@ -241,9 +242,15 @@ } void StelButton::setBackgroundPixmap(const QPixmap &newBackground) -{ - pixBackground = newBackground; - pixBackgroundRed = makeRed(newBackground); +{ + QSettings* confSettings = StelApp::getInstance().getSettings(); + // Checks flag gui/flag_show_groups_buttons_background for visible of background of groups of buttons on bottom bar. + // Details: https://bugs.launchpad.net/stellarium/+bug/1204639 + if (confSettings->value("gui/flag_show_groups_buttons_background", true).toBool()) + { + pixBackground = newBackground; + pixBackgroundRed = makeRed(newBackground); + } updateIcon(); }