~ubuntu-branches/ubuntu/wily/kwin/wily-proposed

« back to all changes in this revision

Viewing changes to dbusinterface.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-08-10 23:16:37 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20150810231637-5zb2tstjkez93hml
Tags: 4:5.3.95-0ubuntu1
new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
bool DBusInterface::startActivity(const QString &in0)
131
131
{
132
132
#ifdef KWIN_BUILD_ACTIVITIES
 
133
    if (!Activities::self()) {
 
134
        return false;
 
135
    }
133
136
    return Activities::self()->start(in0);
134
137
#else
135
138
    Q_UNUSED(in0)
140
143
bool DBusInterface::stopActivity(const QString &in0)
141
144
{
142
145
#ifdef KWIN_BUILD_ACTIVITIES
 
146
    if (!Activities::self()) {
 
147
        return false;
 
148
    }
143
149
    return Activities::self()->stop(in0);
144
150
#else
145
151
    Q_UNUSED(in0)