Page MenuHome GnuPG

No OneTemporary

diff --git a/patches/breeze/0002-fix-ifdef-windows-qmenu.patch b/patches/breeze/0002-fix-ifdef-windows-qmenu.patch
new file mode 100755
index 00000000..28f047af
--- /dev/null
+++ b/patches/breeze/0002-fix-ifdef-windows-qmenu.patch
@@ -0,0 +1,29 @@
+#! /bin/sh
+patch -p1 -l -f $* < $0
+exit $?
+
+From ec3367b5be5e52ec7fef44baffcada57149cd91f Mon Sep 17 00:00:00 2001
+From: Carl Schwan <carl@carlschwan.eu>
+Date: Mon, 30 Sep 2024 10:37:43 +0200
+Subject: [PATCH] Fix ifdef Windows for QMenu
+
+Potentially helps with #22
+---
+ kstyle/breezestyle.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp
+index 9d0eaff2e..4f24861e0 100644
+--- a/kstyle/breezestyle.cpp
++++ b/kstyle/breezestyle.cpp
+@@ -8068,7 +8068,7 @@ void Style::setTranslucentBackground(QWidget *widget) const
+ {
+ widget->setAttribute(Qt::WA_TranslucentBackground);
+
+-#ifdef Q_WS_WIN
++#ifdef Q_OS_WIN
+ // FramelessWindowHint is needed on windows to make WA_TranslucentBackground work properly
+ widget->setWindowFlags(widget->windowFlags() | Qt::FramelessWindowHint);
+ #endif
+--
+GitLab

File Metadata

Mime Type
text/x-diff
Expires
Fri, Dec 12, 7:09 PM (23 h, 59 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7d/ff/974b1cf045e53bddcd213f56490d

Event Timeline