qt: Fix linking when configured with -DENABLE_WALLET=OFF

This change is required for Qt 6, but it is meaningful on its own.
This commit is contained in:
Hennadii Stepanov 2024-09-18 18:33:53 +01:00
parent 69409bc6e5
commit 5be34bacf6
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -16,7 +16,9 @@
#include <qt/guiutil.h>
#include <qt/peertablesortproxy.h>
#include <qt/platformstyle.h>
#ifdef ENABLE_WALLET
#include <qt/walletmodel.h>
#endif // ENABLE_WALLET
#include <rpc/client.h>
#include <rpc/server.h>
#include <util/strencodings.h>