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

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