From dae229a89e4690349ca8c2d8bffd17957929fe43 Mon Sep 17 00:00:00 2001 From: "James C. Owens" Date: Thu, 24 Oct 2024 17:50:03 -0400 Subject: [PATCH] Change WaitMessage() to PollWaitMessage() This fixes a compile error on ambiguous method with WIN32/64 --- src/qt/voting/polltab.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qt/voting/polltab.cpp b/src/qt/voting/polltab.cpp index 46f09e9708..77a8176438 100644 --- a/src/qt/voting/polltab.cpp +++ b/src/qt/voting/polltab.cpp @@ -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 @@ -188,7 +188,7 @@ void PollTab::refresh() { if (m_polltable_model->empty()) { m_no_result->showDefaultLoadingTitle(); - m_no_result->contentWidgetAs()->setText(WaitMessage()); + m_no_result->contentWidgetAs()->setText(PollWaitMessage()); } m_loading->start();