[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:29:06 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=a8a8080
The following commit has been merged in the master branch:
commit a8a80802481dcb792dc6d1a3d46ab6295b692f33
Author: Aleix Pol <aleixpol at kde.org>
Date: Sat Sep 12 09:53:05 2015 +0200
Prevent detaching temporary objects
For more info see:
https://blogs.kde.org/2015/05/13/simple-qt-container-optimization-you-should-do-your-code
---
plasmoid/declarativeplugin/responsewaiter.cpp | 4 ++--
plugins/screensaver-inhibit/screensaverinhibitplugin.cpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plasmoid/declarativeplugin/responsewaiter.cpp b/plasmoid/declarativeplugin/responsewaiter.cpp
index f2c9bf3..6a4ce41 100644
--- a/plasmoid/declarativeplugin/responsewaiter.cpp
+++ b/plasmoid/declarativeplugin/responsewaiter.cpp
@@ -49,7 +49,7 @@ QVariant DBusResponseWaiter::waitForReply(QVariant variant) const
if (reply.arguments().count() > 0)
{
- return reply.arguments().first();
+ return reply.arguments().at(0);
}
}
return QVariant();
@@ -95,7 +95,7 @@ void DBusAsyncResponse::onCallFinished(QDBusPendingCallWatcher* watcher)
if (reply.arguments().count() > 0)
{
- Q_EMIT success(reply.arguments().first());
+ Q_EMIT success(reply.arguments().at(0));
}
else
{
diff --git a/plugins/screensaver-inhibit/screensaverinhibitplugin.cpp b/plugins/screensaver-inhibit/screensaverinhibitplugin.cpp
index 122153a..fb7c88f 100644
--- a/plugins/screensaver-inhibit/screensaverinhibitplugin.cpp
+++ b/plugins/screensaver-inhibit/screensaverinhibitplugin.cpp
@@ -51,7 +51,7 @@ ScreensaverInhibitPlugin::ScreensaverInhibitPlugin(QObject* parent, const QVaria
inhibitCookie = 0;
} else {
// Store the cookie we receive, this will be sent back when sending the uninhibit call.
- inhibitCookie = reply.arguments().first().toUInt();
+ inhibitCookie = reply.arguments().at(0).toUInt();
}
}
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list