qt: try another way

This commit is contained in:
Cacodemon345
2022-11-01 00:56:31 +06:00
parent a5cfa8ec66
commit 65f6f453c0
4 changed files with 13 additions and 10 deletions

View File

@@ -416,6 +416,7 @@ RendererStack::createRenderer(Renderer renderer)
current->setFocusPolicy(Qt::NoFocus);
current->setFocusProxy(this);
current->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
current->setStyleSheet("background-color: black");
addWidget(current.get());
this->setStyleSheet("background-color: black");