Mark some signal parameters as unused
This commit is contained in:
parent
7be1ed28ec
commit
2b11558279
@ -52,6 +52,7 @@ void EpisodeModel::setType(EpisodeModel::Type type)
|
||||
m_type = type;
|
||||
if (m_type == EpisodeModel::New) {
|
||||
connect(&DataManager::instance(), &DataManager::newEntryCountChanged, this, [this](const QString &url) {
|
||||
Q_UNUSED(url)
|
||||
// we have to reset the entire model in case entries are removed or added
|
||||
// because we have no way of knowing where those entries will be added/removed
|
||||
beginResetModel();
|
||||
@ -59,6 +60,7 @@ void EpisodeModel::setType(EpisodeModel::Type type)
|
||||
});
|
||||
} else if (m_type == EpisodeModel::Unread) {
|
||||
connect(&DataManager::instance(), &DataManager::unreadEntryCountChanged, this, [this](const QString &url) {
|
||||
Q_UNUSED(url)
|
||||
// we have to reset the entire model in case entries are removed or added
|
||||
// because we have no way of knowing where those entries will be added/removed
|
||||
beginResetModel();
|
||||
@ -67,6 +69,7 @@ void EpisodeModel::setType(EpisodeModel::Type type)
|
||||
}
|
||||
else if (m_type == EpisodeModel::Downloaded) { // TODO: this needs to be removed !!!!!!
|
||||
connect(&DataManager::instance(), &DataManager::downloadCountChanged, this, [this](const QString &url) {
|
||||
Q_UNUSED(url)
|
||||
// we have to reset the entire model in case entries are removed or added
|
||||
// because we have no way of knowing where those entries will be added/removed
|
||||
beginResetModel();
|
||||
|
Loading…
x
Reference in New Issue
Block a user