diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-24 11:21:18 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-24 11:27:49 (GMT) |
commit | cfa314bd0b6f6ed9285c7167948899184f6a8c12 (patch) | |
tree | b3a2f44a7041298cb237a50c12e358c902fa23d3 /Swift/QtUI/QtWebView.h | |
parent | 7617e03e637cfa153d3fc5cfcb9edc709f4323e3 (diff) | |
download | swift-contrib-cfa314bd0b6f6ed9285c7167948899184f6a8c12.zip swift-contrib-cfa314bd0b6f6ed9285c7167948899184f6a8c12.tar.bz2 |
Don't show 'copy link' in chat context menu if there is no link.
Resolves: #554
Release-Notes: We no longer show 'copy link' in the context menu in the
chat dialog if no link is selected.
Diffstat (limited to 'Swift/QtUI/QtWebView.h')
-rw-r--r-- | Swift/QtUI/QtWebView.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtWebView.h b/Swift/QtUI/QtWebView.h index f60e5ef..fbd31e3 100644 --- a/Swift/QtUI/QtWebView.h +++ b/Swift/QtUI/QtWebView.h @@ -8,6 +8,7 @@ #pragma once #include <QWebView> +#include <vector> namespace Swift { class QtWebView : public QWebView { @@ -24,5 +25,8 @@ namespace Swift { protected: void focusInEvent(QFocusEvent* event); + + private: + std::vector<QWebPage::WebAction> filteredActions; }; } |