Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:3666
breeze.openSUSE_13.2_Update
0004-Fixed-foreground-color-for-pressed-buttons...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-Fixed-foreground-color-for-pressed-buttons.patch of Package breeze.openSUSE_13.2_Update
From 8c2940fb798150af56ee36af694a92ceb710ebf1 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa <hugo.pereira@free.fr> Date: Mon, 23 Mar 2015 09:12:58 +0100 Subject: [PATCH 4/5] Fixed foreground color for pressed buttons --- kdecoration/breezebutton.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kdecoration/breezebutton.cpp b/kdecoration/breezebutton.cpp index 1a3c0c2b0f66a2c8582798b82dee97dcc7785b12..591824838152532c5868c137d9268163161ac83c 100644 --- a/kdecoration/breezebutton.cpp +++ b/kdecoration/breezebutton.cpp @@ -348,7 +348,11 @@ namespace Breeze auto d = qobject_cast<Decoration*>( decoration() ); if( !d ) return QColor(); - if( type() == KDecoration2::DecorationButtonType::Close ) { + if( isPressed() ) { + + return d->titleBarColor(); + + } else if( type() == KDecoration2::DecorationButtonType::Close ) { return d->titleBarColor(); -- 2.3.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor