From f9949b31a43e6084ab8f6850b623069dd7485a0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Sep 2017 22:52:56 +0100 Subject: altough commenting on the code is a good practice, we hate it --- src/frontend/gui/sisyphus-gui.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 1c71edf..715dfd0 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -11,8 +11,6 @@ class Sisyphus(QtWidgets.QMainWindow): self.centerOnScreen() self.show() -# set globals - self.SEARCHFIELDS = OrderedDict ([ ('Category', 'cat'), ('Name', 'pn'), @@ -34,8 +32,6 @@ class Sisyphus(QtWidgets.QMainWindow): Sisyphus.SEARCHTERM = "'%%'" -# connect signals - self.selectfilter.addItems(self.SEARCHFILTERS.keys()) self.selectfilter.setCurrentIndex(0) self.selectfilter.currentIndexChanged.connect(self.setSearchFilter) -- cgit v1.2.3