diff --git a/src/blackgui/components/logincomponent.cpp b/src/blackgui/components/logincomponent.cpp index a49be2b26..4b47113a8 100644 --- a/src/blackgui/components/logincomponent.cpp +++ b/src/blackgui/components/logincomponent.cpp @@ -89,8 +89,8 @@ namespace BlackGui connect(ui->comp_VatsimServers, &CServerListSelector::serverChanged, this, &CLoginComponent::onSelectedServerChanged); connect(ui->tw_Network, &QTabWidget::currentChanged, this, &CLoginComponent::onServerTabWidgetChanged); - connect(ui->bb_OkCancel, &QDialogButtonBox::rejected, this, &CLoginComponent::loginCancelled); - connect(ui->bb_OkCancel, &QDialogButtonBox::accepted, this, &CLoginComponent::toggleNetworkConnection); + connect(ui->pb_Cancel, &QPushButton::clicked, this, &CLoginComponent::loginCancelled); + connect(ui->pb_Ok, &QPushButton::clicked, this, &CLoginComponent::toggleNetworkConnection); connect(ui->pb_OtherServersGotoSettings, &QPushButton::pressed, this, &CLoginComponent::requestNetworkSettings); connect(ui->tb_MappingWizard, &QToolButton::clicked, this, &CLoginComponent::mappingWizard); @@ -102,9 +102,6 @@ namespace BlackGui ui->lblp_AircraftIcao->setToolTips("ok", "wrong"); ui->lblp_Callsign->setToolTips("ok", "wrong"); - //! \fixme hardcoded padding, could maybe goto to stylesheet file - ui->bb_OkCancel->button(QDialogButtonBox::Ok)->setStyleSheet("padding-left: 3px; padding-right: 3px;"); - // Stored data this->loadRememberedUserData(); diff --git a/src/blackgui/components/logincomponent.ui b/src/blackgui/components/logincomponent.ui index 1c266ae8d..876929336 100644 --- a/src/blackgui/components/logincomponent.ui +++ b/src/blackgui/components/logincomponent.ui @@ -15,7 +15,7 @@ - 6 + 2 1 @@ -230,6 +230,37 @@ + + + + Pilot's info + + + + 2 + + + 2 + + + 2 + + + 2 + + + + + + 0 + 50 + + + + + + + @@ -459,28 +490,31 @@ - 2 + 0 - 2 + 5 - 2 + 0 - 2 + 5 - Current server + Current server and aircraft + + 2 + 2 - 2 + 5 2 @@ -663,11 +697,6 @@
blackgui/components/dbairlineicaoselectorcomponent.h
1 - - BlackGui::CTickLabel - QLabel -
blackgui/ticklabel.h
-
BlackGui::Components::CServerListSelector QComboBox