Salome HOME
projects
/
modules
/
paravis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PVViewer] Add Catalyst menu
[modules/paravis.git]
/
test
/
standalone
/
gui
/
PLMainWindow.cxx
diff --git
a/test/standalone/gui/PLMainWindow.cxx
b/test/standalone/gui/PLMainWindow.cxx
index f62d8e5a1b47b58b48c0fbedc1bd831c916b9243..f3582c589e18f34208db5e1cf4367a0d5b7e64f2 100644
(file)
--- a/
test/standalone/gui/PLMainWindow.cxx
+++ b/
test/standalone/gui/PLMainWindow.cxx
@@
-25,11
+25,7
@@
#include <iostream>
#include <QObject>
#include <iostream>
#include <QObject>
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-#include <QtGui/QFileDialog>
-#else
-#include <QtWidgets/QFileDialog>
-#endif
+#include <QFileDialog>
#include <QMessageBox>
#include <pqTabbedMultiViewWidget.h>
#include <QMessageBox>
#include <pqTabbedMultiViewWidget.h>
@@
-198,7
+194,7
@@
void PLMainWindow::insertSingleView(PLViewTab * tab)
std::cout << "Created: " << pqview << "!" << std::endl;
// Retrieve its widget and pass it to the Qt tab:
std::cout << "Created: " << pqview << "!" << std::endl;
// Retrieve its widget and pass it to the Qt tab:
- QWidget* viewWidget = pqview->
getW
idget();
+ QWidget* viewWidget = pqview->
w
idget();
// QWidget* viewWidget = new QPushButton("toto");
tab->hideAndReplace(viewWidget, pqview);
// QWidget* viewWidget = new QPushButton("toto");
tab->hideAndReplace(viewWidget, pqview);