Commit 4e90feee authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'Deprecated_Functions' into 'master'

Removed deprecated function calls

See merge request !5
parents ef89b0a3 3ac41566
...@@ -229,7 +229,7 @@ void QtWidgetNode::createTexture() ...@@ -229,7 +229,7 @@ void QtWidgetNode::createTexture()
{ {
//grab texture from qt //grab texture from qt
widget_->removeEventFilter(ef_); widget_->removeEventFilter(ef_);
QPixmap pix = QPixmap::grabWidget(widget_); QPixmap pix = widget_->grab();
widget_->installEventFilter(ef_); widget_->installEventFilter(ef_);
QImage image = pix.toImage(); 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