summaryrefslogtreecommitdiff
path: root/src/qookie-cast-client.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2022-05-11 16:45:50 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2022-05-26 18:41:21 +0200
commiteaf3efa06bf4d0149e4569466f19ab63086f427c (patch)
treead2bcd23b386f771ad6d0e6154e07f6d3c48b73b /src/qookie-cast-client.cc
parent1a8d7736a99c974462310e4efea2f47713255a8b (diff)
Improve scratch-pad
Diffstat (limited to 'src/qookie-cast-client.cc')
-rw-r--r--src/qookie-cast-client.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qookie-cast-client.cc b/src/qookie-cast-client.cc
index 04e254d..e33edfd 100644
--- a/src/qookie-cast-client.cc
+++ b/src/qookie-cast-client.cc
@@ -77,6 +77,7 @@ void Server::readyRead()
auto webview = new WebView();
webview->setHtml(QString::fromUtf8(html));
+ webview->setReadOnly(true);
tabs.addTab(webview, QString::fromUtf8(title));
payload_size = -1;
// Store remainder (ie. skip, title_size, title and html)