main.cpp
changeset 166 325958acb69b
parent 164 d442a66e9121
child 175 728f51b71e71
     1.1 --- a/main.cpp	Thu Sep 22 12:56:05 2005 +0000
     1.2 +++ b/main.cpp	Mon Oct 10 11:20:25 2005 +0000
     1.3 @@ -22,7 +22,8 @@
     1.4  
     1.5  Main *mainWindow;				// used in BranchObj::select()								
     1.6  QString tmpVymDir;				// All temp files go there, created in mainwindow
     1.7 -MapEditor *clipboardME;			
     1.8 +QString clipboardDir;			// Clipboard used in all mapEditors
     1.9 +bool clipboardEmpty;			
    1.10  FlagRowObj *systemFlagsDefault;	// used to copy from in LinkableMapObj
    1.11  FlagRowObj *standardFlagsDefault;
    1.12  
    1.13 @@ -187,12 +188,7 @@
    1.14  	textEditor->setIcon (QPixmap (vym_editor_xpm));
    1.15  	if (textEditor->showWithMain()) textEditor->show();
    1.16  
    1.17 -	clipboardME = new MapEditor();
    1.18 -	clipboardME->resize (800,600);
    1.19 -	clipboardME->setCaption("VYM - clipboard");
    1.20 -	clipboardME->hide();
    1.21 -
    1.22 -	// Initialize mainwindow after Mapeditors (because of Flags)
    1.23 +	// Initialize mainwindow 
    1.24      Main m;
    1.25  	//m.resize(m.sizeHint());
    1.26  	m.setIcon (QPixmap (vym_logo_xpm));