diff options
| author | John Newbery <[email protected]> | 2019-12-15 12:34:03 -0300 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2019-12-15 13:23:30 -0300 |
| commit | 869b6314fd180856b6054fff28b5de994252c54c (patch) | |
| tree | 2dc02dbf6f347591157f3d6c931841bfe5ad2b04 /src/interfaces | |
| parent | Merge #17728: rpc: require second argument only for scantxoutset start action (diff) | |
| download | discoin-869b6314fd180856b6054fff28b5de994252c54c.tar.xz discoin-869b6314fd180856b6054fff28b5de994252c54c.zip | |
[qt] remove unused parameter from getWarnings()
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/node.cpp | 2 | ||||
| -rw-r--r-- | src/interfaces/node.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index 1877c9217..5f769df0e 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -68,7 +68,7 @@ public: std::string getNetwork() override { return Params().NetworkIDString(); } void initLogging() override { InitLogging(); } void initParameterInteraction() override { InitParameterInteraction(); } - std::string getWarnings(const std::string& type) override { return GetWarnings(type); } + std::string getWarnings() override { return GetWarnings("gui"); } uint32_t getLogCategories() override { return LogInstance().GetCategoryMask(); } bool baseInitialize() override { diff --git a/src/interfaces/node.h b/src/interfaces/node.h index adf3de7b0..6bc4668be 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -78,7 +78,7 @@ public: virtual void initParameterInteraction() = 0; //! Get warnings. - virtual std::string getWarnings(const std::string& type) = 0; + virtual std::string getWarnings() = 0; // Get log flags. virtual uint32_t getLogCategories() = 0; |