on xenial help sign in
check for a valid interface connection
commitfc074032bb491ad028290212a2796d0ce38f3283 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 29 Sep 2014, 10:53 (12 years ago) parent141d7da
1 file changed+3−1
plugins/Unity/DashCommunicator/dashconnection.cpp+3−1
plugins/Unity/DashCommunicator/dashconnection.cpp+3−1
@@ -27,5 +27,7 @@ DashConnection::DashConnection(const QString &service, const QString &path, cons
2727
2828void DashConnection::setCurrentScope(const QString &scopeId, bool animate, bool isSwipe)
2929{
30− dbusInterface()->asyncCall("SetCurrentScope", scopeId, animate, isSwipe);
30+ if (dbusInterface()) {
31+ dbusInterface()->asyncCall("SetCurrentScope", scopeId, animate, isSwipe);
32+ }
3133}