Minor style fixes

This commit is contained in:
Klaus Basan
2018-12-14 10:05:26 +01:00
parent e5eeb43031
commit 59343c6c24
5 changed files with 10 additions and 7 deletions

View File

@@ -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;
}

View File

@@ -17,7 +17,6 @@
namespace BlackGui
{
CPluginConfigWindow::CPluginConfigWindow(QWidget *parent) : COverlayMessagesFrame(parent, Qt::Window)
{
this->setWindowModality(Qt::WindowModal);

View File

@@ -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);
}

View File

@@ -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"

View File

@@ -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);
}
}
}