mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 17:55:34 +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);
|
this->allowStatusBar(false);
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->ps_onStyleSheetsChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
CNavigatorDockWidget::~CNavigatorDockWidget()
|
CNavigatorDockWidget::~CNavigatorDockWidget()
|
||||||
|
|||||||
@@ -89,10 +89,10 @@ namespace BlackGui
|
|||||||
// http://stackoverflow.com/a/7569928/356726
|
// http://stackoverflow.com/a/7569928/356726
|
||||||
if (!layout) { return; }
|
if (!layout) { return; }
|
||||||
QLayoutItem *item {nullptr};
|
QLayoutItem *item {nullptr};
|
||||||
QLayout *sublayout {nullptr};
|
|
||||||
QWidget *widget {nullptr};
|
|
||||||
while ((item = layout->takeAt(0)))
|
while ((item = layout->takeAt(0)))
|
||||||
{
|
{
|
||||||
|
QLayout *sublayout {nullptr};
|
||||||
|
QWidget *widget {nullptr};
|
||||||
if ((sublayout = item->layout()))
|
if ((sublayout = item->layout()))
|
||||||
{
|
{
|
||||||
deleteLayout(sublayout, deleteWidgets);
|
deleteLayout(sublayout, deleteWidgets);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"identifier" : "org.swift-project.plugins.simulator.fs9",
|
"identifier" : "org.swift-project.plugins.simulator.fs9",
|
||||||
"name" : "Microsoft Flight Simulator 2004",
|
"name" : "Flight Simulator 2004",
|
||||||
"simulator" : "fs9",
|
"simulator" : "fs9",
|
||||||
"description" : "Microsoft Flight Simulator 2004"
|
"description" : "Microsoft Flight Simulator 2004"
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"identifier" : "org.swift-project.plugins.simulator.fsx",
|
"identifier" : "org.swift-project.plugins.simulator.fsx",
|
||||||
"name" : "Microsoft Flight Simulator X",
|
"name" : "Flight Simulator X",
|
||||||
"simulator" : "fsx",
|
"simulator" : "fsx",
|
||||||
"description" : "Microsoft Flight Simulator X (2006)"
|
"description" : "Microsoft Flight Simulator X (2006)"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user