Fix deprecated pixmap grab method
This commit is contained in:
parent
149e870ab4
commit
e821314e34
@ -363,7 +363,7 @@ void SearchTermWidget::Overlay::Grab() {
|
||||
hide();
|
||||
|
||||
// Take a "screenshot" of the window
|
||||
QPixmap pixmap = QPixmap::grabWidget(parent_);
|
||||
QPixmap pixmap = parent_->grab();
|
||||
QImage image = pixmap.toImage();
|
||||
|
||||
// Blur it
|
||||
|
Loading…
x
Reference in New Issue
Block a user