Fix deprecated pixmap grab method

This commit is contained in:
Chocobozzz 2015-06-16 20:07:11 +02:00
parent 149e870ab4
commit e821314e34
1 changed files with 1 additions and 1 deletions

View File

@ -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