diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-08-31 14:24:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-10-12 10:27:34 +0000 |
commit | 4f2e66f9d898e9c11a7ad6e552d0d47bb15d4051 (patch) | |
tree | 404b39ed4266a37d94d713d11bc544d1abcce026 /src/core/web_contents_adapter.cpp | |
parent | 9da7d9234dbeebb20b9980155179bc0f7936a6cf (diff) |
Add unselect webaction
Adds a web action to clear selection.
Change-Id: I203b9fbc7a8f3714695eef043ebc3a8f79c20b75
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/core/web_contents_adapter.cpp')
-rw-r--r-- | src/core/web_contents_adapter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/web_contents_adapter.cpp b/src/core/web_contents_adapter.cpp index aa9a2cf10..81c945d5c 100644 --- a/src/core/web_contents_adapter.cpp +++ b/src/core/web_contents_adapter.cpp @@ -576,6 +576,12 @@ void WebContentsAdapter::selectAll() d->webContents->SelectAll(); } +void WebContentsAdapter::unselect() +{ + Q_D(const WebContentsAdapter); + d->webContents->Unselect(); +} + void WebContentsAdapter::navigateToIndex(int offset) { Q_D(WebContentsAdapter); |