summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-09-24 22:52:56 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-09-24 22:52:56 +0100
commitf9949b31a43e6084ab8f6850b623069dd7485a0f (patch)
treef4dab3255a930a0c3a9ebede95fc827093988d3e /src
parentbec0adc8ed1199c444c73b7db33c11f4e3090fcc (diff)
altough commenting on the code is a good practice, we hate it
Diffstat (limited to 'src')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py4
1 files changed, 0 insertions, 4 deletions
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)