diff --git a/clients/nitrogen/nitrogenshadowconfiguration.cpp b/clients/nitrogen/nitrogenshadowconfiguration.cpp index 3120c800f5..d8bad9a1ce 100644 --- a/clients/nitrogen/nitrogenshadowconfiguration.cpp +++ b/clients/nitrogen/nitrogenshadowconfiguration.cpp @@ -40,7 +40,7 @@ namespace Nitrogen { // check colorgroup - assert( colorGroup() == QPalette::Active || colorGroup() == QPalette::Inactive ); + assert( colorGroup == QPalette::Active || colorGroup == QPalette::Inactive ); // vertical offset verticalOffset_ = ( NitrogenShadowConfiguration::colorGroup() == QPalette::Active ) ? 0:0.2;