This commit is contained in:
Klaus Basan
2018-12-28 00:58:26 +01:00
committed by Mat Sutcliffe
parent 400a8fc2a8
commit d71e5f289a
4 changed files with 5 additions and 5 deletions

View File

@@ -77,6 +77,7 @@ 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++);