Updated PageDialog for the new Canvas::setPage()
authorDmitriy Morozov <dmitriy@mrzv.org>
Sat, 27 Nov 2010 09:56:16 -0800
changeset 6 0ffafff7682f
parent 5 1ff3df15f3dc
child 7 a01d4a949adf
Updated PageDialog for the new Canvas::setPage()
pagedialog.cpp
--- a/pagedialog.cpp	Sun Nov 21 07:39:16 2010 -0800
+++ b/pagedialog.cpp	Sat Nov 27 09:56:16 2010 -0800
@@ -24,7 +24,7 @@
         Canvas::Style style = c->canvasStyle();
         style.pretty = true;
         c->setCanvasStyle(style);
-        c->setPage(iDoc->page(views[i].first), views[i].second, iDoc->cascade());
+        c->setPage(iDoc->page(views[i].first), views[i].first, views[i].second, iDoc->cascade());
         connect(c, SIGNAL(mouseAction(int)), this, SLOT(pageChosen(int)));
         canvases.push_back(c);
         layout->addWidget(c, i/5, i%5);