From 653fdbbfb60760d1ce348108ee78ef5eeb42aca9 Mon Sep 17 00:00:00 2001 From: Chani Armitage Date: Wed, 26 May 2010 23:59:45 +0000 Subject: [PATCH] allow setting an empty id (activities are allowed to divorce their containments) svn path=/trunk/KDE/kdelibs/; revision=1131003 --- context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.cpp b/context.cpp index 1e52e6b76..3bf15b439 100644 --- a/context.cpp +++ b/context.cpp @@ -70,7 +70,7 @@ QString Context::currentActivity() const void Context::setCurrentActivityId(const QString &id) { - if (d->activityId == id || id.isEmpty()) { + if (d->activityId == id) { return; }