# HG changeset patch
# User insilmaril
# Date 1258364830 0
# Node ID fc7a93ff97c3379c79cd56f512ff12570b9324a9
# Parent  14f2b1b15242092db9ef3fc7e2eeac8edce0e478
Deactivated progressbar to speedup loading of maps

diff -r 14f2b1b15242 -r fc7a93ff97c3 mainwindow.cpp
--- a/mainwindow.cpp	Fri Nov 13 08:32:03 2009 +0000
+++ b/mainwindow.cpp	Mon Nov 16 09:47:10 2009 +0000
@@ -3669,10 +3669,9 @@
 
 void Main::testFunction1()
 {
+	if (!currentMapEditor()) return;
+	currentMapEditor()->testFunction1();
 /*
-	if (!currentMapEditor()) return;
-	//currentMapEditor()->testFunction1();
-*/
 
 	VymModel *m=currentModel();
 	if (!m) return;
@@ -3684,6 +3683,7 @@
 	if ( ok) 
 		// user entered something and pressed OK
 		m->setSortFilter (text);
+*/
 }
 
 void Main::testFunction2()
diff -r 14f2b1b15242 -r fc7a93ff97c3 mapeditor.cpp
--- a/mapeditor.cpp	Fri Nov 13 08:32:03 2009 +0000
+++ b/mapeditor.cpp	Mon Nov 16 09:47:10 2009 +0000
@@ -475,12 +475,8 @@
 {
 	cout << "ME::test1  selected TI="<<model->getSelectedItem()<<endl;
 
-	BranchObj *bo=model->getSelectedBranchObj();
-	if (bo)
-	{
-		bo->moveBy (100,100);
-		model->reposition();
-	}
+	for (int i=0; i<200;i++)
+		model->addNewBranch();
 
 	/*
 	// Code copied from Qt sources
diff -r 14f2b1b15242 -r fc7a93ff97c3 texteditor.cpp
--- a/texteditor.cpp	Fri Nov 13 08:32:03 2009 +0000
+++ b/texteditor.cpp	Mon Nov 16 09:47:10 2009 +0000
@@ -68,7 +68,7 @@
 	);
 	fixedFont.fromString (settings.value(
 		"/satellite/noteeditor/fonts/fixedFont",
-		"Courier,14,-1,5,48,0,0,0,1,0").toString() 
+		"Courier,12,-1,5,48,0,0,0,1,0").toString() 
 	);
 	QString s=settings.value ("/satellite/noteeditor/fonts/fonthintDefault","variable").toString();
 	if (s == "fixed")
diff -r 14f2b1b15242 -r fc7a93ff97c3 xml-vym.cpp
--- a/xml-vym.cpp	Fri Nov 13 08:32:03 2009 +0000
+++ b/xml-vym.cpp	Mon Nov 16 09:47:10 2009 +0000
@@ -356,7 +356,7 @@
 
 bool parseVYMHandler::readBranchAttr (const QXmlAttributes& a)	
 {
-	mainWindow->setProgressValue (branchesCurrent++);
+	//mainWindow->setProgressValue (branchesCurrent++);	// FIXME-2 Makes load incredibily slow
 
 	lastMI=lastBranch;