From 266820fbac1cac1d5330021482bcee33728e5dbe Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 7 Apr 2019 20:56:59 +0100 Subject: fix potential UI loading issues --- src/frontend/gui/sisyphus-gui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 332c6e0..3ef745f 100644 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -14,7 +14,7 @@ from libsisyphus import * class Sisyphus(QtWidgets.QMainWindow): def __init__(self): super(Sisyphus, self).__init__() - uic.loadUi('ui/sisyphus.ui', self) + uic.loadUi('/usr/share/sisyphus/ui/sisyphus.ui', self) self.centerOnScreen() self.show() @@ -299,7 +299,7 @@ class Sisyphus(QtWidgets.QMainWindow): class MirrorConfiguration(QtWidgets.QMainWindow): def __init__(self): super(MirrorConfiguration, self).__init__() - uic.loadUi('ui/mirrorcfg.ui', self) + uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self) self.centerOnScreen() self.MIRRORLIST = getMirrorList() self.updateMirrorList() @@ -339,7 +339,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow): class LicenseInformation(QtWidgets.QMainWindow): def __init__(self): super(LicenseInformation, self).__init__() - uic.loadUi('ui/license.ui', self) + uic.loadUi('/usr/share/sisyphus/ui/license.ui', self) self.centerOnScreen() def centerOnScreen(self): -- cgit v1.2.3