Commit fd6a0cc0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use directly qOverload (as we depend against c++17)

parent c88b143c
Pipeline #77333 passed with stage
in 8 minutes and 54 seconds
......@@ -174,7 +174,7 @@ void LogViewFilterWidget::initSearchListFilter()
mFilterList->setSizeAdjustPolicy(QComboBox::AdjustToContents);
connect(mFilterList, SIGNAL(activated(int)), mFilterLine, SLOT(setFocus()));
connect(mFilterList, QOverload<int>::of(&QComboBox::activated), this, &LogViewFilterWidget::changeColumnFilter);
connect(mFilterList, qOverload<int>(&QComboBox::activated), this, &LogViewFilterWidget::changeColumnFilter);
connect(mFilterList, SIGNAL(activated(int)), mFilterLine, SLOT(updateSearch()));
}
......
......@@ -287,7 +287,7 @@ void JournaldNetworkAnalyzer::sendRequest(RequestType requestType)
mReply = mNetworkManager.get(request);
connect(mReply, &QNetworkReply::finished, this, &JournaldNetworkAnalyzer::httpFinished);
connect(mReply, &QNetworkReply::readyRead, this, &JournaldNetworkAnalyzer::httpReadyRead);
connect(mReply, QOverload<QNetworkReply::NetworkError>::of(&QNetworkReply::errorOccurred), this, &JournaldNetworkAnalyzer::httpError);
connect(mReply, qOverload<QNetworkReply::NetworkError>(&QNetworkReply::errorOccurred), this, &JournaldNetworkAnalyzer::httpError);
}
void JournaldNetworkAnalyzer::updateStatus(const QString &status)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment