fix(tooltips): hide image label by default (#5232)

This commit is contained in:
nerix
2024-03-09 11:25:20 +01:00
committed by GitHub
parent 8cea86cf17
commit 26bb4e236d
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ TooltipEntryWidget::TooltipEntryWidget(ImagePtr image, const QString &text,
this->displayImage_ = new QLabel();
this->displayImage_->setAlignment(Qt::AlignHCenter);
this->displayImage_->setStyleSheet("background: transparent");
this->displayImage_->hide();
this->displayText_ = new QLabel(text);
this->displayText_->setAlignment(Qt::AlignHCenter);
this->displayText_->setStyleSheet("background: transparent");