diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-03-17 11:55:49 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-03-17 11:55:49 +0100 |
commit | bd50b2bae231d22fe3f26321f34338cb98806f46 (patch) | |
tree | 45d5ff3e00ddabb3809baee4ec2002b4d5bdfef4 /src/webtab | |
parent | Fix search from urlbar engine icons click (diff) | |
download | rekonq-bd50b2bae231d22fe3f26321f34338cb98806f46.tar.xz |
Fix conditional compilation when compiled without activities
CCBUG: 315694
Diffstat (limited to 'src/webtab')
-rw-r--r-- | src/webtab/webtab.cpp | 4 |
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 } |