This commit is contained in:
Klaus Basan
2019-03-18 23:54:46 +01:00
committed by Mat Sutcliffe
parent ae3ebdd443
commit 0a013fc906
11 changed files with 24 additions and 15 deletions

View File

@@ -76,7 +76,6 @@ namespace BlackGui
QPushButton *button = new QPushButton(this);
button->setText(station.getCallsignAsString());
if (m_withIcons) { button->setIcon(station.toPixmap()); }
// else { button->setStyleSheet("text-align: left;"); }
QObject::connect(button, &QPushButton::released, this, &CAtcButtonComponent::onButtonClicked);
const CVariant atcv = CVariant::fromValue(station);
layout->addWidget(button, row, col++);