refactor: review delete and new operators

This commit is contained in:
2024-04-17 17:43:33 +03:00
parent 397b523180
commit 95d5bb99c0
46 changed files with 175 additions and 311 deletions

View File

@ -26,7 +26,7 @@ QuotesSource::QuotesSource(QObject *_parent)
{
qCDebug(LOG_ESS) << __PRETTY_FUNCTION__;
m_extQuotes = new ExtItemAggregator<ExtQuotes>(nullptr, "quotes");
m_extQuotes = new ExtItemAggregator<ExtQuotes>(this, "quotes");
m_extQuotes->initSockets();
}

View File

@ -26,7 +26,7 @@ RequestSource::RequestSource(QObject *_parent)
{
qCDebug(LOG_ESS) << __PRETTY_FUNCTION__;
m_extNetRequest = new ExtItemAggregator<ExtNetworkRequest>(nullptr, "requests");
m_extNetRequest = new ExtItemAggregator<ExtNetworkRequest>(this, "requests");
m_extNetRequest->initSockets();
}

View File

@ -26,7 +26,7 @@ UpgradeSource::UpgradeSource(QObject *_parent)
{
qCDebug(LOG_ESS) << __PRETTY_FUNCTION__;
m_extUpgrade = new ExtItemAggregator<ExtUpgrade>(nullptr, "upgrade");
m_extUpgrade = new ExtItemAggregator<ExtUpgrade>(this, "upgrade");
m_extUpgrade->initSockets();
}

View File

@ -26,7 +26,7 @@ WeatherSource::WeatherSource(QObject *_parent)
{
qCDebug(LOG_ESS) << __PRETTY_FUNCTION__;
m_extWeather = new ExtItemAggregator<ExtWeather>(nullptr, "weather");
m_extWeather = new ExtItemAggregator<ExtWeather>(this, "weather");
m_extWeather->initSockets();
}