From 5b7db2ccd3dbbcdb7d2bcfeb85d54318fe40c2b4 Mon Sep 17 00:00:00 2001 From: Sami Ahmed Date: Wed, 8 Jul 2026 13:42:31 -0700 Subject: [PATCH] fix(ui): include transactionrecord.h in overviewpage.cpp The 3-tier amount color rule references TransactionStatus::Confirming directly. transactiontablemodel.h only forward-declares TransactionStatus (it does not include transactionrecord.h), so the inner enum value 'Confirming' was not visible in the overviewpage.cpp translation unit. This manifested as a build failure on every Qt build (linux-qt, macos, windows-qt) on the rebased PR #22. Daemon builds were unaffected because they don't compile overviewpage.cpp. Fix: include transactionrecord.h in overviewpage.cpp so the TransactionStatus enum values are in scope. --- src/qt/overviewpage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index e451fdf..7ba5920 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -5,6 +5,7 @@ #include "trianglesunits.h" #include "optionsmodel.h" #include "transactiontablemodel.h" +#include "transactionrecord.h" #include "transactionfilterproxy.h" #include "guiutil.h" #include "guiconstants.h"