diff --git a/tests/auto/opengl/qgl/tst_qgl.cpp b/tests/auto/opengl/qgl/tst_qgl.cpp index 929141c108..899e642249 100644 --- a/tests/auto/opengl/qgl/tst_qgl.cpp +++ b/tests/auto/opengl/qgl/tst_qgl.cpp @@ -2277,7 +2277,7 @@ protected: delete display; display = new DisplayWidget(this); - connect(producer, SIGNAL(imageReady(const QImage &)), display, SLOT(setImage(const QImage &))); + connect(producer, SIGNAL(imageReady(QImage)), display, SLOT(setImage(QImage))); display->setGeometry(rect()); display->show();