mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
refactor: simplify sources processing
Also fix desktop source
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