]> Git Repo - VerusCoin.git/commitdiff
Strip out the SECURE flag in metrics UI so message style is detected
authorJack Grigg <[email protected]>
Tue, 3 Jan 2017 09:26:49 +0000 (10:26 +0100)
committerJack Grigg <[email protected]>
Thu, 5 Jan 2017 07:19:15 +0000 (08:19 +0100)
src/metrics.cpp

index 2803a31300c84ff3d7368661a855bbdf5c6ce44e..df0016113a210a13ac51d61b96d54fb0f9d96f5d 100644 (file)
@@ -72,6 +72,9 @@ static bool metrics_ThreadSafeMessageBox(const std::string& message,
                                       const std::string& caption,
                                       unsigned int style)
 {
+    // The SECURE flag has no effect in the metrics UI.
+    style &= ~CClientUIInterface::SECURE;
+
     std::string strCaption;
     // Check for usage of predefined caption
     switch (style) {
This page took 0.026525 seconds and 4 git commands to generate.