diff --git a/src/blackcore/data/globalsetup.h b/src/blackcore/data/globalsetup.h index 9e74e6616..698c68cc2 100644 --- a/src/blackcore/data/globalsetup.h +++ b/src/blackcore/data/globalsetup.h @@ -137,7 +137,7 @@ namespace BlackCore bool m_dbDebugFlag = false; //!< can trigger DEBUG on the server, so you need to know hat you are doing }; - //! Trait for for global setup data + //! Trait for global setup data struct GlobalSetup : public BlackCore::CDataTrait { //! Key in data cache @@ -146,8 +146,8 @@ namespace BlackCore //! Default value static const CGlobalSetup &defaultValue() { - static const CGlobalSetup urls; - return urls; + static const CGlobalSetup gs; + return gs; } }; diff --git a/src/blackgui/guiutility.cpp b/src/blackgui/guiutility.cpp index 90de525e5..ea7251ea2 100644 --- a/src/blackgui/guiutility.cpp +++ b/src/blackgui/guiutility.cpp @@ -33,10 +33,9 @@ namespace BlackGui QWidgetList tlw = topLevelApplicationWidgetsWithName(); for (QWidget *w : tlw) { - // best coice is to check on frameless window + // best choice is to check on frameless window CEnableForFramelessWindow *mw = dynamic_cast(w); if (mw && mw->isMainApplicationWindow()) { return mw; } - } return nullptr; } diff --git a/src/blackmisc/network/networkutils.cpp b/src/blackmisc/network/networkutils.cpp index 50ab875f5..8d9b4d98c 100644 --- a/src/blackmisc/network/networkutils.cpp +++ b/src/blackmisc/network/networkutils.cpp @@ -219,6 +219,5 @@ namespace BlackMisc CNetworkUtils::ignoreSslVerification(request); return request; } - } // namespace } // namespacee diff --git a/src/blackmisc/network/networkutils.h b/src/blackmisc/network/networkutils.h index 3ac08fdb8..37024d937 100644 --- a/src/blackmisc/network/networkutils.h +++ b/src/blackmisc/network/networkutils.h @@ -99,7 +99,7 @@ namespace BlackMisc static QNetworkRequest getNetworkRequest(const CUrl &url, RequestType type = Get); private: - //! Deleted constructor + //! Hidden constructor CNetworkUtils() {} }; diff --git a/src/blackmisc/network/userlist.h b/src/blackmisc/network/userlist.h index c2cca4f16..13a6ae309 100644 --- a/src/blackmisc/network/userlist.h +++ b/src/blackmisc/network/userlist.h @@ -37,7 +37,6 @@ namespace BlackMisc //! Construct from a base class object. CUserList(const CSequence &other); - }; } //namespace diff --git a/src/blackmisc/simulation/fscommon/modelmappingsprovidervpilot.cpp b/src/blackmisc/simulation/fscommon/modelmappingsprovidervpilot.cpp index c9e8c4597..fb3ddf253 100644 --- a/src/blackmisc/simulation/fscommon/modelmappingsprovidervpilot.cpp +++ b/src/blackmisc/simulation/fscommon/modelmappingsprovidervpilot.cpp @@ -35,7 +35,7 @@ namespace BlackMisc bool success = this->m_vPilotReader->read(false); if (success) { - this->m_datastoreModels = this->m_vPilotReader->getRules().toAircraftModels(); + this->m_datastoreModels = this->m_vPilotReader->getRules().toAircraftModels(); } return success; } diff --git a/src/blackmisc/simulation/fscommon/vpilotrulesreader.h b/src/blackmisc/simulation/fscommon/vpilotrulesreader.h index 525f66f77..906be6940 100644 --- a/src/blackmisc/simulation/fscommon/vpilotrulesreader.h +++ b/src/blackmisc/simulation/fscommon/vpilotrulesreader.h @@ -99,7 +99,7 @@ namespace BlackMisc int m_loadedFiles = 0; //!< loaded files CVPilotModelRuleSet m_rules; //!< rules list bool m_asyncLoadInProgress = false; //!< Asynchronous load in progress - bool m_shutdown = false; //!< Shutdown + bool m_shutdown = false; //!< Shutdown mutable BlackMisc::Simulation::CAircraftModelList m_models; //!< converted to models mutable QReadWriteLock m_lockData;