Dim disabled items in context menus (#4423)

This commit is contained in:
nerix
2023-04-29 18:50:13 +02:00
committed by GitHub
parent caaa0d91f6
commit 642718474c
7 changed files with 40 additions and 11 deletions
+5
View File
@@ -292,6 +292,11 @@ bool BaseWindow::supportsCustomWindowFrame()
void BaseWindow::themeChangedEvent()
{
if (!this->flags_.has(BaseWindow::DisableStyleSheet))
{
this->setStyleSheet(this->theme->window.contextMenuStyleSheet);
}
if (this->hasCustomWindowFrame())
{
QPalette palette;