Skip to content

Commit 8f38aea

Browse files
metsmakristelmerilain
authored andcommitted
Set font later (#500)
IB-5902 Signed-off-by: Raul Metsma <[email protected]>
1 parent 883dda5 commit 8f38aea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

client/widgets/LabelButton.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@
2626
using namespace ria::qdigidoc4::colors;
2727

2828
LabelButton::LabelButton( QWidget *parent ): QToolButton(parent)
29-
{
30-
setFont(Styles::font(Styles::Condensed, 12));
31-
}
29+
{}
3230

3331
void LabelButton::init( Style style, const QString &label, int code )
3432
{
3533
setText(label);
34+
setFont(Styles::font(Styles::Condensed, 12));
3635
if(!label.isEmpty())
3736
setAccessibleName(label.toLower());
3837
disconnect(connection);

0 commit comments

Comments
 (0)