summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-08-28 09:18:40 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-08-28 09:20:05 (GMT)
commit66f820c2c7e2d7c6d883c995bf7b2da37aa963c7 (patch)
tree19b495dc2d215b84da103af0c7e62a196de6049a /Swift/QtUI/QtWebView.h
parent6d74e548e9e748007f6541dbcb0ed148e572332e (diff)
downloadswift-contrib-66f820c2c7e2d7c6d883c995bf7b2da37aa963c7.zip
swift-contrib-66f820c2c7e2d7c6d883c995bf7b2da37aa963c7.tar.bz2
Disable the 'Decrease font size' menu item in chats when it's already minimal.
Resolves: #968
Diffstat (limited to 'Swift/QtUI/QtWebView.h')
-rw-r--r--Swift/QtUI/QtWebView.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtWebView.h b/Swift/QtUI/QtWebView.h
index eb5a82d..202037f 100644
--- a/Swift/QtUI/QtWebView.h
+++ b/Swift/QtUI/QtWebView.h
@@ -18,6 +18,7 @@ namespace Swift {
void keyPressEvent(QKeyEvent* event);
void dragEnterEvent(QDragEnterEvent *event);
void contextMenuEvent(QContextMenuEvent* ev);
+ void setFontSizeIsMinimal(bool minimum);
signals:
void gotFocus();
@@ -30,5 +31,6 @@ namespace Swift {
private:
std::vector<QWebPage::WebAction> filteredActions;
+ bool fontSizeIsMinimal;
};
}