Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
c275b35d48
commit
f48f0f69be
@@ -50,7 +50,7 @@ bool GLImageBox::haveMesa = false;
|
||||
/* TRANSLATOR ImageGui::GLImageBox */
|
||||
|
||||
// Constructor
|
||||
GLImageBox::GLImageBox(QWidget * parent, const QGLWidget * shareWidget, Qt::WFlags f)
|
||||
GLImageBox::GLImageBox(QWidget * parent, const QGLWidget * shareWidget, Qt::WindowFlags f)
|
||||
: QGLWidget(parent, shareWidget, f)
|
||||
{
|
||||
// uses default display format for the OpenGL rendering context
|
||||
|
||||
@@ -35,7 +35,7 @@ class ImageGuiExport GLImageBox : public QGLWidget
|
||||
|
||||
public:
|
||||
|
||||
GLImageBox(QWidget * parent = 0, const QGLWidget * shareWidget = 0, Qt::WFlags f = 0);
|
||||
GLImageBox(QWidget * parent = 0, const QGLWidget * shareWidget = 0, Qt::WindowFlags f = 0);
|
||||
~GLImageBox();
|
||||
|
||||
Image::ImageBase *getImageBasePtr() { return &_image; }
|
||||
|
||||
Reference in New Issue
Block a user