diff options
Diffstat (limited to 'pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch')
-rw-r--r-- | pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch b/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch deleted file mode 100644 index 85400e6f0f676..0000000000000 --- a/pkgs/misc/themes/qtcurve/qtcurve-1.8.18-toolbar-alpha.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/qt4/style/qtcurve.cpp b/qt4/style/qtcurve.cpp -index d7659f5..aede882 100644 ---- a/qt4/style/qtcurve.cpp -+++ b/qt4/style/qtcurve.cpp -@@ -12436,7 +12436,12 @@ Style::drawMenuOrToolBarBackground(const QWidget *widget, QPainter *p, - if (!qtcIsCustomBgnd(&opts) || !qtcIsFlat(app) || - (menu && SHADE_NONE != opts.shadeMenubars)) { - p->save(); -+#if 0 -+ // Revert for now -+ // This is necessary for correct opacity on the menubar but may -+ // break transparent gradient. - p->setCompositionMode(QPainter::CompositionMode_Source); -+#endif - QRect rx(r); - QColor col(menu && (option->state & State_Enabled || - SHADE_NONE != opts.shadeMenubars) ? -diff --git a/qt5/style/qtcurve.cpp b/qt5/style/qtcurve.cpp -index c43b8a3..135eddc 100644 ---- a/qt5/style/qtcurve.cpp -+++ b/qt5/style/qtcurve.cpp -@@ -3398,7 +3398,12 @@ Style::drawMenuOrToolBarBackground(const QWidget *widget, QPainter *p, - if (!qtcIsCustomBgnd(&opts) || !qtcIsFlat(app) || - (menu && opts.shadeMenubars != SHADE_NONE)) { - p->save(); -+#if 0 -+ // Revert for now -+ // This is necessary for correct opacity on the menubar but may -+ // break transparent gradient. - p->setCompositionMode(QPainter::CompositionMode_Source); -+#endif - QRect rx(r); - QColor col(menu && (option->state & State_Enabled || - opts.shadeMenubars != SHADE_NONE) ? |