From f0977f7d12341ce7fb591ea984af214aacc90043 Mon Sep 17 00:00:00 2001 From: Gary Preston Date: Wed, 17 Feb 2016 14:03:57 +0000 Subject: [PATCH] Fix qt4 build error. --- code/nel/tools/3d/tile_edit_qt/tiles_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/tile_edit_qt/tiles_model.cpp b/code/nel/tools/3d/tile_edit_qt/tiles_model.cpp index d05495eb7..5640ae077 100644 --- a/code/nel/tools/3d/tile_edit_qt/tiles_model.cpp +++ b/code/nel/tools/3d/tile_edit_qt/tiles_model.cpp @@ -63,7 +63,7 @@ QVariant tiles_model::data(const QModelIndex &index, int role) const #ifdef USE_QT5 QPixmap pixpix = wiwi.grab(wiwi.contentsRect()); #else - QPixmap::grabWidget(wiwi, wiwi.contentsRect()); + QPixmap pixpix = QPixmap::grabWidget(&wiwi, wiwi.contentsRect()); #endif return pixpix; }