mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Minor style fixes
This commit is contained in:
@@ -129,7 +129,7 @@ namespace BlackCore
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
|
||||
CPluginConfigWindow::CPluginConfigWindow(QWidget *parent) : COverlayMessagesFrame(parent, Qt::Window)
|
||||
{
|
||||
this->setWindowModality(Qt::WindowModal);
|
||||
|
||||
@@ -14,12 +14,13 @@
|
||||
using namespace BlackMisc::Network;
|
||||
using namespace BlackMisc::Simulation;
|
||||
using namespace BlackMisc::Weather;
|
||||
using namespace BlackCore;
|
||||
|
||||
namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
BlackCore::ISimulator *CSimulatorFsxFactory::create(const CSimulatorPluginInfo &info,
|
||||
ISimulator *CSimulatorFsxFactory::create(const CSimulatorPluginInfo &info,
|
||||
IOwnAircraftProvider *ownAircraftProvider,
|
||||
IRemoteAircraftProvider *remoteAircraftProvider,
|
||||
IWeatherGridProvider *weatherGridProvider,
|
||||
@@ -29,7 +30,7 @@ namespace BlackSimPlugin
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "SimConnectsettingscomponent.h"
|
||||
#include "simconnectsettingscomponent.h"
|
||||
#include "ui_simconnectsettingscomponent.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "blackcore/context/contextapplication.h"
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
#include "simulatorfsxconfig.h"
|
||||
#include "../fsxcommon/simulatorfsxconfigwindow.h"
|
||||
|
||||
using namespace BlackGui;
|
||||
using namespace BlackSimPlugin::FsxCommon;
|
||||
|
||||
namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fsx
|
||||
@@ -19,9 +22,9 @@ namespace BlackSimPlugin
|
||||
// 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