diff -r 4244bcd9e6ea -r 325958acb69b main.cpp --- a/main.cpp Thu Sep 22 12:56:05 2005 +0000 +++ b/main.cpp Mon Oct 10 11:20:25 2005 +0000 @@ -22,7 +22,8 @@ Main *mainWindow; // used in BranchObj::select() QString tmpVymDir; // All temp files go there, created in mainwindow -MapEditor *clipboardME; +QString clipboardDir; // Clipboard used in all mapEditors +bool clipboardEmpty; FlagRowObj *systemFlagsDefault; // used to copy from in LinkableMapObj FlagRowObj *standardFlagsDefault; @@ -187,12 +188,7 @@ textEditor->setIcon (QPixmap (vym_editor_xpm)); if (textEditor->showWithMain()) textEditor->show(); - clipboardME = new MapEditor(); - clipboardME->resize (800,600); - clipboardME->setCaption("VYM - clipboard"); - clipboardME->hide(); - - // Initialize mainwindow after Mapeditors (because of Flags) + // Initialize mainwindow Main m; //m.resize(m.sizeHint()); m.setIcon (QPixmap (vym_logo_xpm));