Commit e0f81673 authored by David Edmundson's avatar David Edmundson
Browse files

[runners/calculator] Port old style connect

Test Plan: Compiles

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24325
parent 0d9e0bce
...@@ -66,7 +66,7 @@ void QalculateEngine::updateExchangeRates() ...@@ -66,7 +66,7 @@ void QalculateEngine::updateExchangeRates()
QUrl dest = QUrl::fromLocalFile(QFile::decodeName(CALCULATOR->getExchangeRatesFileName().c_str())); QUrl dest = QUrl::fromLocalFile(QFile::decodeName(CALCULATOR->getExchangeRatesFileName().c_str()));
KIO::Job* getJob = KIO::file_copy(source, dest, -1, KIO::Overwrite | KIO::HideProgressInfo); KIO::Job* getJob = KIO::file_copy(source, dest, -1, KIO::Overwrite | KIO::HideProgressInfo);
connect( getJob, SIGNAL(result(KJob*)), this, SLOT(updateResult(KJob*)) ); connect( getJob, &KJob::result, this, &QalculateEngine::updateResult );
} }
void QalculateEngine::updateResult(KJob* job) void QalculateEngine::updateResult(KJob* job)
......
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