diff --git a/src/widgets/splits/SplitInput.cpp b/src/widgets/splits/SplitInput.cpp index 570e52f43..841d46ac2 100644 --- a/src/widgets/splits/SplitInput.cpp +++ b/src/widgets/splits/SplitInput.cpp @@ -540,7 +540,7 @@ void SplitInput::showCompletionPopup(const QString &text, bool emoteCompletion) else // autocomplete usernames popup->updateUsers(text, this->split_->getChannel()); - auto pos = this->mapToGlobal({0, 0}) - QPoint(0, popup->height()) + + auto pos = this->mapToGlobal(QPoint{0, 0}) - QPoint(0, popup->height()) + QPoint((this->width() - popup->width()) / 2, 0); popup->move(pos);