mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 01:57:31 +08:00
Fixed wrong UI component name to CCockpitComComponent
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6572c12016
commit
e3254d028d
@@ -52,7 +52,7 @@ namespace BlackGui
|
|||||||
CCockpitComComponent::CCockpitComComponent(QWidget *parent) :
|
CCockpitComComponent::CCockpitComComponent(QWidget *parent) :
|
||||||
QFrame(parent),
|
QFrame(parent),
|
||||||
BlackMisc::CIdentifiable(this),
|
BlackMisc::CIdentifiable(this),
|
||||||
ui(new Ui::CCockpitMainComponent)
|
ui(new Ui::CCockpitComComponent)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
this->initLeds();
|
this->initLeds();
|
||||||
|
|||||||
@@ -29,8 +29,7 @@ class QPaintEvent;
|
|||||||
class QWidget;
|
class QWidget;
|
||||||
|
|
||||||
namespace BlackMisc { namespace Aviation { class CComSystem; } }
|
namespace BlackMisc { namespace Aviation { class CComSystem; } }
|
||||||
namespace Ui { class CCockpitMainComponent; }
|
namespace Ui { class CCockpitComComponent; }
|
||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
namespace Components
|
namespace Components
|
||||||
@@ -103,7 +102,7 @@ namespace BlackGui
|
|||||||
//! COM frequencies displayed
|
//! COM frequencies displayed
|
||||||
void updateFrequencyDisplaysFromComSystems(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2);
|
void updateFrequencyDisplaysFromComSystems(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2);
|
||||||
|
|
||||||
QScopedPointer<Ui::CCockpitMainComponent> ui;
|
QScopedPointer<Ui::CCockpitComComponent> ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ui version="4.0">
|
<ui version="4.0">
|
||||||
<class>CCockpitMainComponent</class>
|
<class>CCockpitComComponent</class>
|
||||||
<widget class="QFrame" name="CCockpitMainComponent">
|
<widget class="QFrame" name="CCockpitComComponent">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
|
|||||||
Reference in New Issue
Block a user