mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
refs #312, some minor adjustments:
* cpp check (Jenkins) * init style sheet in navigator * shorter names in JSON plugin names
This commit is contained in:
@@ -30,6 +30,7 @@ namespace BlackGui
|
||||
{
|
||||
this->allowStatusBar(false);
|
||||
ui->setupUi(this);
|
||||
this->ps_onStyleSheetsChanged();
|
||||
}
|
||||
|
||||
CNavigatorDockWidget::~CNavigatorDockWidget()
|
||||
|
||||
@@ -89,10 +89,10 @@ namespace BlackGui
|
||||
// http://stackoverflow.com/a/7569928/356726
|
||||
if (!layout) { return; }
|
||||
QLayoutItem *item {nullptr};
|
||||
QLayout *sublayout {nullptr};
|
||||
QWidget *widget {nullptr};
|
||||
while ((item = layout->takeAt(0)))
|
||||
{
|
||||
QLayout *sublayout {nullptr};
|
||||
QWidget *widget {nullptr};
|
||||
if ((sublayout = item->layout()))
|
||||
{
|
||||
deleteLayout(sublayout, deleteWidgets);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"identifier" : "org.swift-project.plugins.simulator.fs9",
|
||||
"name" : "Microsoft Flight Simulator 2004",
|
||||
"name" : "Flight Simulator 2004",
|
||||
"simulator" : "fs9",
|
||||
"description" : "Microsoft Flight Simulator 2004"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"identifier" : "org.swift-project.plugins.simulator.fsx",
|
||||
"name" : "Microsoft Flight Simulator X",
|
||||
"name" : "Flight Simulator X",
|
||||
"simulator" : "fsx",
|
||||
"description" : "Microsoft Flight Simulator X (2006)"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user