Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2018-03-26 23:49:54 +0300
committerCamila San <hello@camila.codes>2018-05-16 21:10:51 +0300
commit434f093f98eb70a294d3426395a92af78f438309 (patch)
treec57d0616acee2e35e28366efef7842545ac9db6f /src/gui/sslbutton.cpp
parent5e2270bd570c06905c5be953f7d1eaa055d503ac (diff)
SslButton: Add HTTP/2 info #3146
Diffstat (limited to 'src/gui/sslbutton.cpp')
-rw-r--r--src/gui/sslbutton.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/sslbutton.cpp b/src/gui/sslbutton.cpp
index 71433aef4..b65e236c4 100644
--- a/src/gui/sslbutton.cpp
+++ b/src/gui/sslbutton.cpp
@@ -189,6 +189,10 @@ void SslButton::slotUpdateMenu()
AccountPtr account = _accountState->account();
+ if (account->isHttp2Supported()) {
+ _menu->addAction("HTTP/2")->setEnabled(false);
+ }
+
if (account->url().scheme() == QLatin1String("https")) {
QString sslVersion = account->_sessionCipher.protocolString()
+ ", " + account->_sessionCipher.authenticationMethod()