clang-format src

This commit is contained in:
Lars Toenning
2023-04-13 14:20:16 +02:00
parent ba41d4887b
commit 970b7c3650
1501 changed files with 20326 additions and 17820 deletions

View File

@@ -40,17 +40,16 @@ using namespace BlackMisc::Network;
namespace BlackGui::Components
{
CDbLiverySelectorComponent::CDbLiverySelectorComponent(QWidget *parent) :
QFrame(parent),
ui(new Ui::CDbLiverySelectorComponent)
CDbLiverySelectorComponent::CDbLiverySelectorComponent(QWidget *parent) : QFrame(parent),
ui(new Ui::CDbLiverySelectorComponent)
{
ui->setupUi(this);
this->setAcceptDrops(true);
this->setAcceptedMetaTypeIds({qMetaTypeId<CLivery>(), qMetaTypeId<CLiveryList>()});
this->setAcceptedMetaTypeIds({ qMetaTypeId<CLivery>(), qMetaTypeId<CLiveryList>() });
ui->le_Livery->setValidator(new CUpperCaseValidator(this));
connect(ui->le_Livery, &QLineEdit::returnPressed, this, &CDbLiverySelectorComponent::onDataChanged);
connect(ui->le_Livery, &QLineEdit::returnPressed, this, &CDbLiverySelectorComponent::onDataChanged);
connect(ui->le_Livery, &QLineEdit::editingFinished, this, &CDbLiverySelectorComponent::onDataChanged);
connect(sGui->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbLiverySelectorComponent::onLiveriesRead, Qt::QueuedConnection);