From b30535da60dbe3df6722fd3a8c260a116b0f88e1 Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Tue, 14 Mar 2023 18:39:09 +0100 Subject: [PATCH] Update main.cpp --- SandboxiePlus/SandMan/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SandboxiePlus/SandMan/main.cpp b/SandboxiePlus/SandMan/main.cpp index 32cb9df8..ab47af70 100644 --- a/SandboxiePlus/SandMan/main.cpp +++ b/SandboxiePlus/SandMan/main.cpp @@ -55,7 +55,9 @@ int main(int argc, char *argv[]) // QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling); //} +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton); +#endif QtSingleApplication app(argc, argv); app.setQuitOnLastWindowClosed(false);