mainwindow.cpp
changeset 412 8059b6aa74d7
parent 408 c2a05fa925a1
child 417 1cc7bbf75f0b
     1.1 --- a/mainwindow.cpp	Thu Dec 14 17:01:44 2006 +0000
     1.2 +++ b/mainwindow.cpp	Fri Dec 29 13:52:17 2006 +0000
     1.3 @@ -92,7 +92,6 @@
     1.4  
     1.5  	// Initialize history window;
     1.6  	historyWindow=new HistoryWindow();
     1.7 -	// FIXME historyWindow.setStepsTotal(stepsTotal);
     1.8  
     1.9  	// Initialize some settings, which are platform dependant
    1.10  	QString p,s;
    1.11 @@ -3095,7 +3094,6 @@
    1.12  		m.reset();
    1.13  		currentMapEditor()->setMatrix( m );
    1.14  		currentMapEditor()->setViewCenter();
    1.15 -		currentMapEditor()->adjustCanvasSize();
    1.16  	}	
    1.17  }
    1.18  
    1.19 @@ -3107,7 +3105,6 @@
    1.20  		m.scale( 1.25, 1.25 );
    1.21  		currentMapEditor()->setMatrix( m );
    1.22  		currentMapEditor()->setViewCenter();
    1.23 -		currentMapEditor()->adjustCanvasSize();
    1.24  	}	
    1.25  }
    1.26  
    1.27 @@ -3119,7 +3116,6 @@
    1.28  		m.scale( 0.8, 0.8 );
    1.29  		currentMapEditor()->setMatrix( m );
    1.30  		currentMapEditor()->setViewCenter();
    1.31 -		currentMapEditor()->adjustCanvasSize();
    1.32  	}	
    1.33  }
    1.34  
    1.35 @@ -3366,7 +3362,6 @@
    1.36  		if ( (typeid(*selection) == typeid(FloatImageObj)) )
    1.37  		{
    1.38  			FloatObj *fo=(FloatImageObj*)selection;
    1.39 -//FIXME do this in mainwindow					standardFlagsDefault->setEnabled (false);
    1.40  
    1.41  			actionEditOpenURL->setEnabled (false);
    1.42  			actionEditOpenVymLink->setEnabled (false);