Dim disabled items in context menus (#4423)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user