1.1 --- a/vymview.cpp Wed Dec 10 13:10:35 2008 +0000
1.2 +++ b/vymview.cpp Mon Jan 05 16:31:38 2009 +0000
1.3 @@ -2,8 +2,12 @@
1.4
1.5 #include <iostream>
1.6
1.7 +#include "mainwindow.h"
1.8 #include "mapeditor.h"
1.9
1.10 +extern Main *mainWindow;
1.11 +
1.12 +
1.13 VymView::VymView(VymModel *model)
1.14 {
1.15 // Create TreeView
1.16 @@ -34,8 +38,8 @@
1.17 me,SLOT (updateSelection(const QItemSelection &,const QItemSelection &)));
1.18
1.19 //me->viewport()->setFocus();
1.20 - //FIXME me->setAntiAlias (actionViewToggleAntiAlias->isOn());
1.21 - //FIXME me->setSmoothPixmap(actionViewToggleSmoothPixmapTransform->isOn());
1.22 + me->setAntiAlias (mainWindow->isAliased());
1.23 + me->setSmoothPixmap(mainWindow->hasSmoothPixmapTransform());
1.24
1.25 addWidget (treeview);
1.26 addWidget (me);