summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2015-10-30 18:05:42 (GMT)
committerAleix Pol <aleixpol@kde.org>2015-10-30 18:05:42 (GMT)
commit594f75c55188705924231d86dcadf8c38a238b5b (patch)
tree2e5b9b9b270b6912770447b311d7eb16e18fc15a
parent78a4813fa32cd69065e06fe7969186385c980560 (diff)
adopt new connect syntax
-rw-r--r--libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp b/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp
index 2c092bd..fa4d8b0 100644
--- a/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp
+++ b/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp
@@ -112,7 +112,7 @@ void ApplicationNotifier::recheckSystemUpdateNeeded()
return;
m_updateCheckerProcess = new QProcess(this);
- connect(m_updateCheckerProcess, SIGNAL(finished(int)), this, SLOT(parseUpdateInfo()));
+ connect(m_updateCheckerProcess, static_cast<void(QProcess::*)(int)>(&QProcess::finished), this, &ApplicationNotifier::parseUpdateInfo);
m_updateCheckerProcess->start("/usr/lib/update-notifier/apt-check");
}