From 03a8b14109b01f0f1ce484ee14f1eee200561c4d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 16 Nov 2021 20:17:27 +0100 Subject: [PATCH] helpbox: enable paint bg in addLine() disable not required Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/79a22af4d9df9fa18e27d71418c3262a6b25192a Author: Thilo Graf Date: 2021-11-16 (Tue, 16 Nov 2021) --- src/gui/widget/helpbox.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/widget/helpbox.cpp b/src/gui/widget/helpbox.cpp index bfac56036..8dac688bb 100644 --- a/src/gui/widget/helpbox.cpp +++ b/src/gui/widget/helpbox.cpp @@ -89,7 +89,6 @@ void Helpbox::addLine(const std::string& icon, const std::string& text, const in picon = new CComponentsPicture (0, 0, icon); w_picon = picon->getWidth(); h_picon = picon->getHeight(); - picon->doPaintBg(false); picon->setYPos(line->getHeight()/2 - h_picon/2); picon->SetTransparent(CFrameBuffer::TM_BLACK); line->addCCItem(picon);