--- a/canvasview.cpp Mon Feb 23 18:38:49 2015 -0800
+++ b/canvasview.cpp Wed Nov 04 10:34:25 2015 -0800
@@ -71,7 +71,7 @@
// --------------------------------------------------------------------
-CanvasView::CanvasView(Qt::WFlags f):
+CanvasView::CanvasView(Qt::WindowFlags f):
QMainWindow(0, f)
{
iDoc = 0;
--- a/canvasview.h Mon Feb 23 18:38:49 2015 -0800
+++ b/canvasview.h Wed Nov 04 10:34:25 2015 -0800
@@ -70,7 +70,7 @@
Q_OBJECT
public:
- CanvasView(Qt::WFlags f=0);
+ CanvasView(Qt::WindowFlags f=0);
void setView(int pageNo, int ViewNo);
void fitBox(const Rect &box);
--- a/mainwindow.cpp Mon Feb 23 18:38:49 2015 -0800
+++ b/mainwindow.cpp Wed Nov 04 10:34:25 2015 -0800
@@ -40,7 +40,7 @@
// --------------------------------------------------------------------
MainWindow::
-MainWindow(CanvasView* cv, Qt::WFlags f):
+MainWindow(CanvasView* cv, Qt::WindowFlags f):
QMainWindow(0, f), canvas_view(cv)
{
setupUi(this);
--- a/mainwindow.h Mon Feb 23 18:38:49 2015 -0800
+++ b/mainwindow.h Wed Nov 04 10:34:25 2015 -0800
@@ -64,7 +64,7 @@
};
public:
- MainWindow(CanvasView* cv, Qt::WFlags f=0);
+ MainWindow(CanvasView* cv, Qt::WindowFlags f=0);
// void zoom(int delta);
void nextView(int delta);