From ae8864a02c4c4ad82a1f900a9ef2808de8f45a66 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Apr 2018 11:31:39 +0100 Subject: Revert "quickfix: use full path for ui files, hardcoded for now" This reverts commit fe355e062019591e1b017ee7b1ff6676aca25104. --- 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 08bb7c7..2b4344f 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -13,7 +13,7 @@ from libsisyphus import * class Sisyphus(QtWidgets.QMainWindow): def __init__(self): super(Sisyphus, self).__init__() - uic.loadUi('/usr/share/sisyphus/ui/sisyphus.ui', self) + uic.loadUi('ui/sisyphus.ui', self) self.centerOnScreen() self.show() @@ -306,7 +306,7 @@ class Sisyphus(QtWidgets.QMainWindow): class MirrorConfiguration(QtWidgets.QMainWindow): def __init__(self): super(MirrorConfiguration, self).__init__() - uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self) + uic.loadUi('ui/mirrorcfg.ui', self) self.centerOnScreen() self.MIRRORLIST = getMirrors() self.updateMirrorList() @@ -347,7 +347,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow): class LicenseInformation(QtWidgets.QMainWindow): def __init__(self): super(LicenseInformation, self).__init__() - uic.loadUi('/usr/share/sisyphus/ui/license.ui', self) + uic.loadUi('ui/license.ui', self) self.centerOnScreen() def centerOnScreen(self): -- cgit v1.2.3