We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838abf0 commit cc1480fCopy full SHA for cc1480f
1 file changed
webview/platform/linux/webview_linux_webkitgtk.cpp
@@ -281,7 +281,9 @@ bool Instance::create(Config config) {
281
::base::install_event_filter(_widget, [=](
282
not_null<QEvent*> e) {
283
if (e->type() == QEvent::Resize) {
284
- const auto size = static_cast<QResizeEvent*>(e.get())->size();
+ const auto size = static_cast<QResizeEvent*>(
285
+ e.get()
286
+ )->size();
287
resize(size.width(), size.height());
288
}
289
return ::base::EventFilterResult::Continue;
@@ -749,7 +751,7 @@ void Instance::dataRequest(
749
751
if (requestedLimit <= 0) {
750
752
requestedLimit = (total - requestedOffset);
753
-
754
+
755
if (!headersWritten) {
756
socket->write("HTTP/1.1 ");
757
socket->write(partial ? "206 Partial Content\r\n" : "200 OK\r\n");
0 commit comments