From 81317fd43d86aefd0a620f7f600d5b0672268b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Thu, 7 Jul 2022 21:48:23 +0200 Subject: [PATCH] change webview background color --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e3e8469..24b983e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1,6 +1,7 @@ #include "mainwindow.h" #include "virtmic.h" +#include #include #include #include @@ -48,6 +49,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { void MainWindow::setupWebView() { m_webView = new QWebEngineView(this); + m_webView->page()->setBackgroundColor(QColor("#202225")); // TODO: Custom QWebEnginePage that implements acceptNavigationRequest connect(m_webView->page(), &QWebEnginePage::featurePermissionRequested, this,