summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-24 11:21:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-24 11:27:49 (GMT)
commitcfa314bd0b6f6ed9285c7167948899184f6a8c12 (patch)
treeb3a2f44a7041298cb237a50c12e358c902fa23d3 /Swift/QtUI/QtWebView.h
parent7617e03e637cfa153d3fc5cfcb9edc709f4323e3 (diff)
downloadswift-cfa314bd0b6f6ed9285c7167948899184f6a8c12.zip
swift-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.h4
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;
};
}