Commit fd276e27 authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa
Browse files

cleanup commented code

CCBUG: 273848
parent 59908567
......@@ -1300,20 +1300,6 @@ namespace Oxygen
if( dockWidget->isWindow() )
{
// #ifndef Q_WS_WIN
// bool hasAlpha( helper().hasAlphaChannel( dockWidget ) );
// if( hasAlpha )
// {
// painter.setCompositionMode( QPainter::CompositionMode_Source );
// TileSet *tileSet( helper().roundCorner( color ) );
// tileSet->render( r, &painter );
//
// // set clip region
// painter.setCompositionMode( QPainter::CompositionMode_SourceOver );
// painter.setClipRegion( helper().roundedMask( r.adjusted( 1, 1, -1, -1 ) ), Qt::IntersectClip );
// }
// #endif
helper().renderWindowBackground( &painter, r, dockWidget, color );
#ifndef Q_WS_WIN
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment