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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user