Fixed the about dialog, so it displays the image again
This commit is contained in:
parent
a8b3ae57c7
commit
47c56f8fca
@ -24,3 +24,5 @@ class DialogAbout(QtGui.QDialog):
|
|||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
QtGui.QDialog.__init__(self, parent)
|
QtGui.QDialog.__init__(self, parent)
|
||||||
ui = uic.loadUi(os.path.join(resources.get_ui_path(), 'about.ui'), self)
|
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')))
|
||||||
|
@ -24,11 +24,7 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label"/>
|
||||||
<property name="pixmap">
|
|
||||||
<pixmap resource="../res/resources.qrc">:/img/img/banner_about.png</pixmap>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
Loading…
Reference in New Issue
Block a user