diff --git a/controls/CustomLineHeightLabel.cpp b/controls/CustomLineHeightLabel.cpp index 2054720e42b4775b81d53c0e332e96d7868494f5..f308775c56923b98e89910edec539063bb5f0d90 100644 --- a/controls/CustomLineHeightLabel.cpp +++ b/controls/CustomLineHeightLabel.cpp @@ -26,7 +26,7 @@ void CustomLineHeightLabel::updateStyleSheets() { StyleSheatSearchPar searchPar; - searchPar.widgetName = "#"+ parent()->objectName() + " #" + this->objectName(); + searchPar.widgetName = "#" + this->objectName(); QString stylesheet = AppStyleSheetHandler::getWidgetStyleSheet(searchPar); //line-height: