qt: Add GUIUtil::bringToFront

Github-Pull: #14123
Rebased-From: 5796671e1d
This commit is contained in:
João Barbosa 2018-08-31 23:08:07 +01:00 committed by Anthony Fieroni
parent cce339ea42
commit bcb88335ab

View file

@ -63,6 +63,14 @@
void ForceActivation();
#endif
#if defined(Q_OS_MAC)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <objc/objc-runtime.h>
#include <CoreServices/CoreServices.h>
#endif
namespace GUIUtil {
QString dateTimeStr(const QDateTime &date)
@ -375,6 +383,9 @@ void bringToFront(QWidget* w)
}
}
}
}
void openDebugLogfile()
{
fs::path pathDebug = GetDataDir() / "debug.log";