diff --git a/qutebrowser/completion/models/base.py b/qutebrowser/completion/models/base.py index 1d3ed2be4..5e2c78c5a 100644 --- a/qutebrowser/completion/models/base.py +++ b/qutebrowser/completion/models/base.py @@ -79,10 +79,7 @@ class CompletionModel(QStandardItemModel): nameitem = QStandardItem(name) descitem = QStandardItem(desc) - if misc is None: - miscitem = QStandardItem() - else: - miscitem = QStandardItem(misc) + miscitem = QStandardItem(misc) cat.appendRow([nameitem, descitem, miscitem])