diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/web_contents_adapter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/web_contents_adapter.cpp b/src/core/web_contents_adapter.cpp index be68e6ef4..59d89824f 100644 --- a/src/core/web_contents_adapter.cpp +++ b/src/core/web_contents_adapter.cpp @@ -317,8 +317,7 @@ QUrl WebContentsAdapter::requestedUrl() const QString WebContentsAdapter::pageTitle() const { Q_D(const WebContentsAdapter); - content::NavigationEntry* entry = d->webContents->GetController().GetVisibleEntry(); - return entry ? toQt(entry->GetTitle()) : QString(); + return toQt(d->webContents->GetTitle()); } QString WebContentsAdapter::selectedText() const |