summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/webtab/webtab.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp
index 7a3213b0..070ffcaf 100644
--- a/src/webtab/webtab.cpp
+++ b/src/webtab/webtab.cpp
@@ -503,17 +503,21 @@ void WebTab::toggleInspector(bool on)
void WebTab::focusIn()
{
+#ifdef HAVE_KACTIVITIES
if (m_isPrivateBrowsing || !m_activityResourceInstance)
return;
m_activityResourceInstance->notifyFocusedIn();
+#endif
}
void WebTab::focusOut()
{
+#ifdef HAVE_KACTIVITIES
if (m_isPrivateBrowsing || !m_activityResourceInstance)
return;
m_activityResourceInstance->notifyFocusedOut();
+#endif
}