mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +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) :
|
||||
QFrame(parent),
|
||||
BlackMisc::CIdentifiable(this),
|
||||
ui(new Ui::CCockpitMainComponent)
|
||||
ui(new Ui::CCockpitComComponent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->initLeds();
|
||||
|
||||
@@ -29,8 +29,7 @@ class QPaintEvent;
|
||||
class QWidget;
|
||||
|
||||
namespace BlackMisc { namespace Aviation { class CComSystem; } }
|
||||
namespace Ui { class CCockpitMainComponent; }
|
||||
|
||||
namespace Ui { class CCockpitComComponent; }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
@@ -103,7 +102,7 @@ namespace BlackGui
|
||||
//! COM frequencies displayed
|
||||
void updateFrequencyDisplaysFromComSystems(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2);
|
||||
|
||||
QScopedPointer<Ui::CCockpitMainComponent> ui;
|
||||
QScopedPointer<Ui::CCockpitComComponent> ui;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>CCockpitMainComponent</class>
|
||||
<widget class="QFrame" name="CCockpitMainComponent">
|
||||
<class>CCockpitComComponent</class>
|
||||
<widget class="QFrame" name="CCockpitComComponent">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
||||
Reference in New Issue
Block a user