diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index 1664a817b..45320eb54 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -24,8 +24,6 @@ #include #include -#include - #define TEXT_FOLLOWERS "Followers: " #define TEXT_VIEWS "Views: " #define TEXT_CREATED "Created: " @@ -494,80 +492,58 @@ UserInfoPopup::TimeoutWidget::TimeoutWidget() layout->setSpacing(16); - auto addButton = [&](Action action, const QString &text, - const QPixmap &pixmap) { + const auto addLayout = [&](const QString &text) { auto vbox = layout.emplace().withoutMargin(); + auto title = vbox.emplace().withoutMargin(); + title->addStretch(1); + auto label = title.emplace