summaryrefslogtreecommitdiff
path: root/src/frontend/gui
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2017-09-20 22:26:38 +0300
committerbionel <ionel.busuioc@gmail.com>2017-09-20 22:26:38 +0300
commit5bb51c95c6a6a45592313c575e4d68aa1504665d (patch)
tree900987612f5f5ee65c8b0a44a903d572457783fe /src/frontend/gui
parentd07d6aeb724100bca26acb7606bbbc0d5d90b26a (diff)
remove comments
Diffstat (limited to 'src/frontend/gui')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index a33e3c8..16a7323 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -19,7 +19,7 @@ class Sisyphus(QtWidgets.QMainWindow):
('Description', 'descr')
])
self.selectfield.addItems(self.SEARCHFIELDS.keys())
- self.selectfield.setCurrentIndex(1) # defaults to package name
+ self.selectfield.setCurrentIndex(1)
self.selectfield.currentIndexChanged.connect(self.setSearchField)
self.SEARCHFILTERS = OrderedDict ([
@@ -30,12 +30,12 @@ class Sisyphus(QtWidgets.QMainWindow):
('Downgradable', 'AND iv > av')
])
self.selectfilter.addItems(self.SEARCHFILTERS.keys())
- self.selectfilter.setCurrentIndex(0) # defaults to package name
+ self.selectfilter.setCurrentIndex(0)
self.selectfilter.currentIndexChanged.connect(self.setSearchFilter)
- Sisyphus.SEARCHTERM = "'%%'" # defaults to all
- Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Name'] # defaults to package name
- Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All'] # defaults to any
+ Sisyphus.SEARCHTERM = "'%%'"
+ Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Name']
+ Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All']
self.loadDatabase(Sisyphus.SEARCHFIELD,Sisyphus.SEARCHTERM,Sisyphus.SEARCHFILTER)
self.input.textEdited.connect(self.filterDatabase)