From 47c56f8fcae7193efa2344e4c9504857b53139d2 Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Sun, 30 Oct 2011 02:46:34 +0900 Subject: [PATCH] Fixed the about dialog, so it displays the image again --- mangle/about.py | 2 ++ mangle/resources/ui/about.ui | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/mangle/about.py b/mangle/about.py index 0c5770d..259d279 100644 --- a/mangle/about.py +++ b/mangle/about.py @@ -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'))) diff --git a/mangle/resources/ui/about.ui b/mangle/resources/ui/about.ui index 9752570..20dcc7e 100644 --- a/mangle/resources/ui/about.ui +++ b/mangle/resources/ui/about.ui @@ -24,11 +24,7 @@ 0 - - - :/img/img/banner_about.png - - +