Removed debug output and fixed painting of SideBar drag overlays

This commit is contained in:
Uwe Kindler
2023-07-10 12:07:44 +02:00
parent 0627b3183f
commit 8a82e4cf57
2 changed files with 3 additions and 10 deletions

View File

@@ -583,6 +583,7 @@ bool CDockOverlay::dropPreviewEnabled() const
void CDockOverlay::paintEvent(QPaintEvent* event)
{
Q_UNUSED(event);
// Draw rect based on location
if (!d->DropPreviewEnabled)
{
@@ -608,6 +609,7 @@ void CDockOverlay::paintEvent(QPaintEvent* event)
case BottomAutoHideArea: r.setY(r.height() - d->sideBarOverlaySize(SideBarBottom)); break;
default: return;
}
QPainter painter(this);
QColor Color = palette().color(QPalette::Active, QPalette::Highlight);
QPen Pen = painter.pen();