Mercurial > minori
diff src/gui/widgets/text.cc @ 183:01d259b9c89f
pages/torrents.cc: parse feed descriptions separately
services/anilist.cc: use constexpr STL string_view for HTTP queries
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 04 Dec 2023 13:40:42 -0500 |
parents | 6d8da6e64d61 |
children | 4d461ef7d424 |
line wrap: on
line diff
--- a/src/gui/widgets/text.cc Mon Dec 04 13:19:54 2023 -0500 +++ b/src/gui/widgets/text.cc Mon Dec 04 13:40:42 2023 -0500 @@ -14,9 +14,12 @@ static_text_title = new QLabel(title, this); static_text_title->setTextFormat(Qt::PlainText); - QFont font = static_text_title->font(); - font.setWeight(QFont::Bold); - static_text_title->setFont(font); + + { + QFont font = static_text_title->font(); + font.setWeight(QFont::Bold); + static_text_title->setFont(font); + } static_text_line = new QFrame(this); static_text_line->setFrameShape(QFrame::HLine);