[DeckShare] Restore the banner-text doc comment

Re-add the doc block above refreshBannerCardText() that was removed as part of
the share-selection work; it documents the coupling to refreshBannerCardToolTip.
This commit is contained in:
Lukas Brübach 2026-09-20 19:28:38 +02:00 committed by GitHub
parent bda4aeef46
commit 64335328c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -295,6 +295,10 @@ void DeckPreviewWidget::updateTagsVisibility(bool visible)
}
}
/**
* Refreshes the banner card text.
* This also calls `refreshBannerCardToolTip`, since those two often need to be updated together.
*/
void DeckPreviewWidget::refreshBannerCardText()
{
bannerCardDisplayWidget->setOverlayText(getDisplayName());