Remove redundant user search suggestion code

This commit is contained in:
Nicolas Werner 2020-11-25 02:10:09 +01:00
parent 37df79f796
commit bc93f24a22
7 changed files with 42 additions and 122 deletions

View file

@ -118,7 +118,7 @@ QuickSwitcher::QuickSwitcher(QWidget *parent)
connect(roomSearch_, &RoomSearchInput::hiding, this, [this]() { popup_.hide(); });
connect(roomSearch_, &QLineEdit::returnPressed, this, [this]() {
reset();
popup_.selectHoveredSuggestion<RoomItem>();
popup_.selectHoveredSuggestion();
});
}