From 6e70e1e49dff95eb0bdb628abf2e1bd34de6396b Mon Sep 17 00:00:00 2001 From: Patrick Linstruth Date: Thu, 24 Jan 2019 13:11:49 -0800 Subject: [PATCH] Fixed regression with RDTransportButton taking focus --- ChangeLog | 3 +-- lib/rdtransportbutton.cpp | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6e3eafef..c4b88899 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18415,5 +18415,4 @@ 'pypad.Receiver::padField()' methods to caution against confusing the two. 2019-01-24 Patrick Linstruth - * Reduced size of PyPAD edit window in rdadmin(1) to match - rdairplay(1). + * Fixed regression with RDTransportButton taking focus from lists. diff --git a/lib/rdtransportbutton.cpp b/lib/rdtransportbutton.cpp index d037936f..b1ffd8ba 100644 --- a/lib/rdtransportbutton.cpp +++ b/lib/rdtransportbutton.cpp @@ -41,6 +41,7 @@ RDTransportButton::RDTransportButton(RDTransportButton::TransType type, off_cap=new QPixmap(); drawOffCap(); setPixmap(*off_cap); + setFocusPolicy(Qt::NoFocus); flash_timer=new QTimer(this,"flash_timer"); connect(flash_timer,SIGNAL(timeout()),this,SLOT(flashClock()));