From df152d824e0cb84c8c4298edddc6b46c87a9d726 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 27 Jan 2016 17:10:07 +0100 Subject: [PATCH] PV500 porting. --- test/standalone/gui/PLMainWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/standalone/gui/PLMainWindow.cxx b/test/standalone/gui/PLMainWindow.cxx index 7662b16f..b08d7e63 100644 --- a/test/standalone/gui/PLMainWindow.cxx +++ b/test/standalone/gui/PLMainWindow.cxx @@ -194,7 +194,7 @@ void PLMainWindow::insertSingleView(PLViewTab * tab) std::cout << "Created: " << pqview << "!" << std::endl; // Retrieve its widget and pass it to the Qt tab: - QWidget* viewWidget = pqview->getWidget(); + QWidget* viewWidget = pqview->widget(); // QWidget* viewWidget = new QPushButton("toto"); tab->hideAndReplace(viewWidget, pqview); -- 2.39.2