1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

Use meaningful widget names

This commit is contained in:
Uwe L. Korn 2014-06-13 17:36:57 +01:00
parent f236d65b86
commit 145ffd9cdf
2 changed files with 8 additions and 6 deletions

View File

@ -41,7 +41,7 @@
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item alignment="Qt::AlignLeft|Qt::AlignTop">
<widget class="QWidget" name="widget_2" native="true">
<widget class="QWidget" name="featureBoxes" native="true">
<property name="minimumSize">
<size>
<width>0</width>
@ -62,7 +62,7 @@
<number>0</number>
</property>
<item alignment="Qt::AlignLeft">
<widget class="QWidget" name="widget_3" native="true">
<widget class="QWidget" name="inboxBox" native="true">
<property name="minimumSize">
<size>
<width>64</width>
@ -83,7 +83,7 @@
<number>0</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QLabel" name="label">
<widget class="QLabel" name="inboxBoxHeader">
<property name="text">
<string>Inbox</string>
</property>
@ -93,7 +93,7 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="inboxBoxImage">
<property name="minimumSize">
<size>
<width>64</width>

View File

@ -86,8 +86,10 @@ WhatsNewWidget_0_8::WhatsNewWidget_0_8( QWidget* parent )
ui->widget->setAutoFillBackground( true );
}
QPixmap inboxPixmap = ImageRegistry::instance()->pixmap( RESPATH "images/inbox.svg", QSize( 64, 64 ) );
ui->label_2->setPixmap( inboxPixmap );
{
QPixmap inboxPixmap = ImageRegistry::instance()->pixmap( RESPATH "images/inbox.svg", QSize( 64, 64 ) );
ui->inboxBoxImage->setPixmap( inboxPixmap );
}
}