some more stuff

This commit is contained in:
fourtf
2020-08-13 20:20:24 +02:00
parent a566a74ef0
commit 46361ea859
2 changed files with 9 additions and 1 deletions
@@ -60,7 +60,8 @@ void QuickSwitcherPopup::initWidgets()
auto vbox = creator.setLayoutType<QVBoxLayout>();
{
vbox.emplace<QLineEdit>().assign(&this->ui_.searchEdit);
auto lineEdit = vbox.emplace<QLineEdit>().assign(&this->ui_.searchEdit);
lineEdit->setPlaceholderText("Jump to a channel or open a new one");
QObject::connect(this->ui_.searchEdit, &QLineEdit::textChanged, this,
&QuickSwitcherPopup::updateSuggestions);