on xenial help sign in
check for a valid interface connection
fc07403Michael Zanetti
plugins/Unity/DashCommunicator/dashconnection.cpp+3−1
@@ -27,5 +27,7 @@ DashConnection::DashConnection(const QString &service, const QString &path, cons
27
27
28void DashConnection::setCurrentScope(const QString &scopeId, bool animate, bool isSwipe)
28void DashConnection::setCurrentScope(const QString &scopeId, bool animate, bool isSwipe)
29{
29{
30+ if (dbusInterface()) {
30− dbusInterface()->asyncCall("SetCurrentScope", scopeId, animate, isSwipe);
31+ dbusInterface()->asyncCall("SetCurrentScope", scopeId, animate, isSwipe);
32+ }
31}
33}