Fixed regression with RDTransportButton taking focus

This commit is contained in:
Patrick Linstruth 2019-01-24 13:11:49 -08:00
parent 61c1b52072
commit 6e70e1e49d
2 changed files with 2 additions and 2 deletions

View File

@ -18415,5 +18415,4 @@
'pypad.Receiver::padField()' methods to caution against confusing
the two.
2019-01-24 Patrick Linstruth <patrick@deltecent.com>
* Reduced size of PyPAD edit window in rdadmin(1) to match
rdairplay(1).
* Fixed regression with RDTransportButton taking focus from lists.

View File

@ -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()));