diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index 4a8813b47..1664a817b 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -555,11 +555,11 @@ UserInfoPopup::TimeoutWidget::TimeoutWidget() addButton(Unban, "unban", getApp()->resources->buttons.unban); const auto timeoutButtons = getSettings()->timeoutButtons.getValue(); - std::vector> t(8); // Timeouts. + std::vector t(8); // Timeouts. auto i = 0; std::generate(t.begin(), t.end(), [&] { const auto tButton = timeoutButtons[i]; - std::pair pair = std::make_pair( + const auto pair = std::make_pair( QString::number(tButton.second) + tButton.first, calculateTimeoutDuration(tButton.second, tButton.first)); i++;