mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-28 11:45:40 +08:00
clang-format src
This commit is contained in:
@@ -40,9 +40,8 @@ using namespace BlackGui::Models;
|
||||
|
||||
namespace BlackGui::Components
|
||||
{
|
||||
CDistributorPreferencesComponent::CDistributorPreferencesComponent(QWidget *parent) :
|
||||
COverlayMessagesFrame(parent),
|
||||
ui(new Ui::CDistributorPreferencesComponent)
|
||||
CDistributorPreferencesComponent::CDistributorPreferencesComponent(QWidget *parent) : COverlayMessagesFrame(parent),
|
||||
ui(new Ui::CDistributorPreferencesComponent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->comp_SimulatorSelector->setMode(CSimulatorSelector::RadioButtons);
|
||||
@@ -63,7 +62,7 @@ namespace BlackGui::Components
|
||||
}
|
||||
|
||||
CDistributorPreferencesComponent::~CDistributorPreferencesComponent()
|
||||
{ }
|
||||
{}
|
||||
|
||||
void CDistributorPreferencesComponent::onPreferencesChanged()
|
||||
{
|
||||
@@ -139,8 +138,7 @@ namespace BlackGui::Components
|
||||
void CDistributorPreferencesComponent::triggerDeferredSimulatorChange()
|
||||
{
|
||||
QPointer<CDistributorPreferencesComponent> myself(this);
|
||||
QTimer::singleShot(1000, this, [ = ]
|
||||
{
|
||||
QTimer::singleShot(1000, this, [=] {
|
||||
if (!myself) { return; }
|
||||
if (!sApp || sApp->isShuttingDown()) { return; }
|
||||
const CSimulatorInfo sim = ui->comp_SimulatorSelector->getValue();
|
||||
|
||||
Reference in New Issue
Block a user