mirror of
				https://github.com/arcan1s/awesome-widgets.git
				synced 2025-11-04 06:43:41 +00:00 
			
		
		
		
	refactor: simplify sources processing
This commit is contained in:
		@ -111,8 +111,8 @@ QString DPAdds::toolTipImage(const int _desktop) const
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // init
 | 
			
		||||
    auto *toolTipScene = new QGraphicsScene();
 | 
			
		||||
    auto *toolTipView = new QGraphicsView(toolTipScene);
 | 
			
		||||
    auto toolTipScene = new QGraphicsScene();
 | 
			
		||||
    auto toolTipView = new QGraphicsView(toolTipScene);
 | 
			
		||||
    toolTipView->setStyleSheet("background: transparent");
 | 
			
		||||
    toolTipView->setContentsMargins(0, 0, 0, 0);
 | 
			
		||||
    toolTipView->setFrameShape(QFrame::NoFrame);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user