Ref T314 Style: correct parameter name.

This commit is contained in:
Mat Sutcliffe
2018-09-30 13:22:36 +01:00
committed by Klaus Basan
parent f42d42487d
commit 62634e1e0e
2 changed files with 3 additions and 3 deletions

View File

@@ -32,9 +32,9 @@ namespace BlackCore
return cats; return cats;
} }
CNetworkWatchdog::CNetworkWatchdog(bool networkAccessible, QObject *parent) : CContinuousWorker(parent, "swift DB watchdog") CNetworkWatchdog::CNetworkWatchdog(bool networkAccessible, QObject *owner) : CContinuousWorker(owner, "swift DB watchdog")
{ {
Q_ASSERT_X(parent, Q_FUNC_INFO, "Need parent (normally sApp)"); Q_ASSERT_X(owner, Q_FUNC_INFO, "Need owner (normally sApp)");
m_networkAccessible = networkAccessible; m_networkAccessible = networkAccessible;
m_internetAccessible = networkAccessible; m_internetAccessible = networkAccessible;

View File

@@ -36,7 +36,7 @@ namespace BlackCore
static const BlackMisc::CLogCategoryList &getLogCategories(); static const BlackMisc::CLogCategoryList &getLogCategories();
//! Ctor //! Ctor
explicit CNetworkWatchdog(bool networkAccessible, QObject *parent); explicit CNetworkWatchdog(bool networkAccessible, QObject *owner);
//! Network status changed, use this function to inform the watchdog //! Network status changed, use this function to inform the watchdog
//! \threadsafe //! \threadsafe