Commit 3ac41566 authored by Jan Möbius's avatar Jan Möbius

Removed deprecated function calls

parent ef89b0a3
......@@ -229,7 +229,7 @@ void QtWidgetNode::createTexture()
{
//grab texture from qt
widget_->removeEventFilter(ef_);
QPixmap pix = QPixmap::grabWidget(widget_);
QPixmap pix = widget_->grab();
widget_->installEventFilter(ef_);
QImage image = pix.toImage();
......
Markdown is supported
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