mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
Minor style fixes
This commit is contained in:
@@ -129,7 +129,7 @@ namespace BlackCore
|
|||||||
|
|
||||||
if (!m_paths.contains(identifier))
|
if (!m_paths.contains(identifier))
|
||||||
{
|
{
|
||||||
CLogMessage(this).warning("Plugin with id %1 does not exist") << identifier;
|
CLogMessage(this).warning("Plugin with id '%1' does not exist") << identifier;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
|
|
||||||
CPluginConfigWindow::CPluginConfigWindow(QWidget *parent) : COverlayMessagesFrame(parent, Qt::Window)
|
CPluginConfigWindow::CPluginConfigWindow(QWidget *parent) : COverlayMessagesFrame(parent, Qt::Window)
|
||||||
{
|
{
|
||||||
this->setWindowModality(Qt::WindowModal);
|
this->setWindowModality(Qt::WindowModal);
|
||||||
|
|||||||
@@ -14,12 +14,13 @@
|
|||||||
using namespace BlackMisc::Network;
|
using namespace BlackMisc::Network;
|
||||||
using namespace BlackMisc::Simulation;
|
using namespace BlackMisc::Simulation;
|
||||||
using namespace BlackMisc::Weather;
|
using namespace BlackMisc::Weather;
|
||||||
|
using namespace BlackCore;
|
||||||
|
|
||||||
namespace BlackSimPlugin
|
namespace BlackSimPlugin
|
||||||
{
|
{
|
||||||
namespace Fsx
|
namespace Fsx
|
||||||
{
|
{
|
||||||
BlackCore::ISimulator *CSimulatorFsxFactory::create(const CSimulatorPluginInfo &info,
|
ISimulator *CSimulatorFsxFactory::create(const CSimulatorPluginInfo &info,
|
||||||
IOwnAircraftProvider *ownAircraftProvider,
|
IOwnAircraftProvider *ownAircraftProvider,
|
||||||
IRemoteAircraftProvider *remoteAircraftProvider,
|
IRemoteAircraftProvider *remoteAircraftProvider,
|
||||||
IWeatherGridProvider *weatherGridProvider,
|
IWeatherGridProvider *weatherGridProvider,
|
||||||
@@ -29,7 +30,7 @@ namespace BlackSimPlugin
|
|||||||
return new CSimulatorFsx(info, ownAircraftProvider, remoteAircraftProvider, weatherGridProvider, clientProvider, this);
|
return new CSimulatorFsx(info, ownAircraftProvider, remoteAircraftProvider, weatherGridProvider, clientProvider, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
BlackCore::ISimulatorListener *CSimulatorFsxFactory::createListener(const CSimulatorPluginInfo &info)
|
ISimulatorListener *CSimulatorFsxFactory::createListener(const CSimulatorPluginInfo &info)
|
||||||
{
|
{
|
||||||
return new CSimulatorFsxListener(info);
|
return new CSimulatorFsxListener(info);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* contained in the LICENSE file.
|
* contained in the LICENSE file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SimConnectsettingscomponent.h"
|
#include "simconnectsettingscomponent.h"
|
||||||
#include "ui_simconnectsettingscomponent.h"
|
#include "ui_simconnectsettingscomponent.h"
|
||||||
#include "blackgui/guiapplication.h"
|
#include "blackgui/guiapplication.h"
|
||||||
#include "blackcore/context/contextapplication.h"
|
#include "blackcore/context/contextapplication.h"
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
#include "simulatorfsxconfig.h"
|
#include "simulatorfsxconfig.h"
|
||||||
#include "../fsxcommon/simulatorfsxconfigwindow.h"
|
#include "../fsxcommon/simulatorfsxconfigwindow.h"
|
||||||
|
|
||||||
|
using namespace BlackGui;
|
||||||
|
using namespace BlackSimPlugin::FsxCommon;
|
||||||
|
|
||||||
namespace BlackSimPlugin
|
namespace BlackSimPlugin
|
||||||
{
|
{
|
||||||
namespace Fsx
|
namespace Fsx
|
||||||
@@ -19,9 +22,9 @@ namespace BlackSimPlugin
|
|||||||
// void
|
// void
|
||||||
}
|
}
|
||||||
|
|
||||||
BlackGui::CPluginConfigWindow *CSimulatorFsxConfig::createConfigWindow(QWidget *parent)
|
CPluginConfigWindow *CSimulatorFsxConfig::createConfigWindow(QWidget *parent)
|
||||||
{
|
{
|
||||||
return new FsxCommon::CSimulatorFsxConfigWindow("FSX", parent);
|
return new CSimulatorFsxConfigWindow("FSX", parent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user