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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -98,6 +98,7 @@
- Bugfix: Fixed link info not updating without moving the cursor. (#5178) - Bugfix: Fixed link info not updating without moving the cursor. (#5178)
- Bugfix: Fixed an upload sometimes failing when copying an image from a browser if it contained extra properties. (#5156) - Bugfix: Fixed an upload sometimes failing when copying an image from a browser if it contained extra properties. (#5156)
- Bugfix: Fixed tooltips getting out of bounds when loading images. (#5186) - Bugfix: Fixed tooltips getting out of bounds when loading images. (#5186)
- Bugfix: Fixed split header tooltips appearing too tall. (#5232)
- Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978) - Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978)
- Dev: Change clang-format from v14 to v16. (#4929) - Dev: Change clang-format from v14 to v16. (#4929)
- Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791) - Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791)

View file

@ -24,6 +24,7 @@ TooltipEntryWidget::TooltipEntryWidget(ImagePtr image, const QString &text,
this->displayImage_ = new QLabel(); this->displayImage_ = new QLabel();
this->displayImage_->setAlignment(Qt::AlignHCenter); this->displayImage_->setAlignment(Qt::AlignHCenter);
this->displayImage_->setStyleSheet("background: transparent"); this->displayImage_->setStyleSheet("background: transparent");
this->displayImage_->hide();
this->displayText_ = new QLabel(text); this->displayText_ = new QLabel(text);
this->displayText_->setAlignment(Qt::AlignHCenter); this->displayText_->setAlignment(Qt::AlignHCenter);
this->displayText_->setStyleSheet("background: transparent"); this->displayText_->setStyleSheet("background: transparent");