diff --git a/securedrop_client/gui/widgets.py b/securedrop_client/gui/widgets.py index abfdc7336..4f515ef40 100644 --- a/securedrop_client/gui/widgets.py +++ b/securedrop_client/gui/widgets.py @@ -125,15 +125,7 @@ def __init__(self, parent): self.error_status.setObjectName('error_label') left_layout.addWidget(self.status) left_layout.addWidget(self.error_status) - filter_widget = QWidget() - filter_layout = QHBoxLayout() - filter_widget.setLayout(filter_layout) - filter_label = QLabel(_('Filter: ')) - self.filter_term = QLineEdit() self.source_list = SourceList(left_column) - filter_layout.addWidget(filter_label) - filter_layout.addWidget(self.filter_term) - left_layout.addWidget(filter_widget) left_layout.addWidget(self.source_list) self.layout.addWidget(left_column, 2) self.view_holder = QWidget() diff --git a/tests/gui/test_widgets.py b/tests/gui/test_widgets.py index e5dbb6319..4870d7f84 100644 --- a/tests/gui/test_widgets.py +++ b/tests/gui/test_widgets.py @@ -105,7 +105,6 @@ def test_MainView_init(): """ mv = MainView(None) assert isinstance(mv.source_list, SourceList) - assert isinstance(mv.filter_term, QLineEdit) assert isinstance(mv.view_holder, QWidget)