summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-03-17 11:55:49 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-03-17 11:55:49 +0100
commitbd50b2bae231d22fe3f26321f34338cb98806f46 (patch)
tree45d5ff3e00ddabb3809baee4ec2002b4d5bdfef4
parentFix search from urlbar engine icons click (diff)
downloadrekonq-bd50b2bae231d22fe3f26321f34338cb98806f46.tar.xz
Fix conditional compilation when compiled without activities
CCBUG: 315694
-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
}