diff options
Diffstat (limited to 'src/webtab/webtab.cpp')
-rw-r--r-- | src/webtab/webtab.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp index 070ffcaf..1020d68a 100644 --- a/src/webtab/webtab.cpp +++ b/src/webtab/webtab.cpp @@ -78,6 +78,7 @@ WebTab::WebTab(QWidget *parent, bool isPrivateBrowsing) , m_part(0) , m_zoomFactor(10) , m_isPrivateBrowsing(isPrivateBrowsing) + , m_isWebApp(false) , m_splitter(new QSplitter(this)) #ifdef HAVE_KACTIVITIES , m_activityResourceInstance(0) @@ -119,6 +120,7 @@ WebTab::WebTab(QWidget *parent, bool isPrivateBrowsing) if (!parent) { + m_isWebApp = true; connect(this, SIGNAL(titleChanged(QString)), this, SLOT(webAppTitleChanged(QString))); connect(this, SIGNAL(iconChanged()), this, SLOT(webAppIconChanged())); } @@ -521,3 +523,9 @@ void WebTab::focusOut() m_activityResourceInstance->notifyFocusedOut(); #endif } + + +bool WebTab::isWebApp() +{ + return m_isWebApp; +} |