From 62634e1e0e57af419944b261ac7deffa758cd72d Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Sun, 30 Sep 2018 13:22:36 +0100 Subject: [PATCH] Ref T314 Style: correct parameter name. --- src/blackcore/db/networkwatchdog.cpp | 4 ++-- src/blackcore/db/networkwatchdog.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blackcore/db/networkwatchdog.cpp b/src/blackcore/db/networkwatchdog.cpp index 72f3a9016..c54cbf22e 100644 --- a/src/blackcore/db/networkwatchdog.cpp +++ b/src/blackcore/db/networkwatchdog.cpp @@ -32,9 +32,9 @@ namespace BlackCore 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_internetAccessible = networkAccessible; diff --git a/src/blackcore/db/networkwatchdog.h b/src/blackcore/db/networkwatchdog.h index deb71b204..d058c0999 100644 --- a/src/blackcore/db/networkwatchdog.h +++ b/src/blackcore/db/networkwatchdog.h @@ -36,7 +36,7 @@ namespace BlackCore static const BlackMisc::CLogCategoryList &getLogCategories(); //! Ctor - explicit CNetworkWatchdog(bool networkAccessible, QObject *parent); + explicit CNetworkWatchdog(bool networkAccessible, QObject *owner); //! Network status changed, use this function to inform the watchdog //! \threadsafe