Fixed the about dialog, so it displays the image again

This commit is contained in:
Marek Kubica 2011-10-30 02:46:34 +09:00
parent a8b3ae57c7
commit 47c56f8fca
2 changed files with 3 additions and 5 deletions

View File

@ -24,3 +24,5 @@ class DialogAbout(QtGui.QDialog):
def __init__(self, parent):
QtGui.QDialog.__init__(self, parent)
ui = uic.loadUi(os.path.join(resources.get_ui_path(), 'about.ui'), self)
label = ui.findChild(QtGui.QLabel, 'label')
label.setPixmap(QtGui.QPixmap(os.path.join(resources.get_image_path(), 'banner_about.png')))

View File

@ -24,11 +24,7 @@
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="pixmap">
<pixmap resource="../res/resources.qrc">:/img/img/banner_about.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label"/>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">