From bcb88335abfb463b9f89fd4832696cd7bbda9add Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Fri, 31 Aug 2018 23:08:07 +0100 Subject: [PATCH] qt: Add GUIUtil::bringToFront Github-Pull: #14123 Rebased-From: 5796671e1dd8a2d0b1e750c2dce19a10af624095 --- src/qt/guiutil.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index c4e0321f2..664daa967 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -63,6 +63,14 @@ void ForceActivation(); #endif +#if defined(Q_OS_MAC) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + +#include +#include +#endif + namespace GUIUtil { QString dateTimeStr(const QDateTime &date) @@ -375,6 +383,9 @@ void bringToFront(QWidget* w) } } + } +} + void openDebugLogfile() { fs::path pathDebug = GetDataDir() / "debug.log";