Gui: fix light/dark switch when on classic (#21049)

* Gui: fix: taskpanel light/dark switch when on classic

* Gui: fix: taskpanel double icon

* Apply suggestions from code review

---------

Co-authored-by: Kacper Donat <kadet1090@gmail.com>
This commit is contained in:
Alfredo Monclus
2025-05-21 08:00:54 -06:00
committed by GitHub
parent e6cb6d57b4
commit 548af02619
16 changed files with 136 additions and 105 deletions

View File

@@ -1273,7 +1273,6 @@ void OverlayTabWidget::setOverlayMode(QWidget *widget, OverlayOption option)
&& !qobject_cast<Dialog::Clipping*>(widget))
|| qobject_cast<TaskView::TaskBox*>(widget))
return;
if(widget != tabBar()) {
if(OverlayParams::getDockOverlayAutoMouseThrough()
&& option == OverlayOption::ShowTab) {