From 9f0baa220c5ffc012fbf10cb2e607b7e2e1becba Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 20 Jan 2016 10:14:02 +0100 Subject: [PATCH] Porting to PV500 --- 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 f62d8e5a..4b59d93c 100644 --- a/test/standalone/gui/PLMainWindow.cxx +++ b/test/standalone/gui/PLMainWindow.cxx @@ -198,7 +198,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