Skip to content

Commit

Permalink
Change WaitMessage() to PollWaitMessage()
Browse files Browse the repository at this point in the history
This fixes a compile error on ambiguous method with WIN32/64
  • Loading branch information
jamescowens committed Oct 24, 2024
1 parent 27341ee commit dae229a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qt/voting/polltab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ QString RefreshMessage()
return QCoreApplication::translate("PollTab", "Press \"Refresh\" to update the list.");
}

QString WaitMessage()
QString PollWaitMessage()
{
return QCoreApplication::translate("PollTab", "This may take several minutes.");
}

QString FullRefreshMessage()
{
return QStringLiteral("%1 %2").arg(RefreshMessage()).arg(WaitMessage());
return QStringLiteral("%1 %2").arg(RefreshMessage()).arg(PollWaitMessage());
}
} // Anonymous namespace

Expand Down Expand Up @@ -188,7 +188,7 @@ void PollTab::refresh()
{
if (m_polltable_model->empty()) {
m_no_result->showDefaultLoadingTitle();
m_no_result->contentWidgetAs<QLabel>()->setText(WaitMessage());
m_no_result->contentWidgetAs<QLabel>()->setText(PollWaitMessage());
}

m_loading->start();
Expand Down

0 comments on commit dae229a

Please sign in to comment.