1.1 --- a/mainwindow.cpp Thu Mar 26 07:50:32 2009 +0000
1.2 +++ b/mainwindow.cpp Tue Mar 31 15:36:10 2009 +0000
1.3 @@ -1,5 +1,6 @@
1.4 #include "mainwindow.h"
1.5
1.6 +#include <QtDBus/QtDBus>
1.7 #include <QtGui>
1.8
1.9 #include <iostream>
1.10 @@ -2564,7 +2565,7 @@
1.11 urls.at(i);
1.12 #endif
1.13 p->start ("dcop",args);
1.14 - //cout << qPrintable (args.join(" "))<<endl;
1.15 + if (debug) cout << "MainWindo::openURLs args="<<args.join(" ").toStdString()<<endl;
1.16 if ( !p->waitForStarted() ) success=false;
1.17 }
1.18 if (!success)
1.19 @@ -3483,6 +3484,7 @@
1.20 void Main::changeSelection (VymModel *model, const QItemSelection &newsel, const QItemSelection &oldsel)
1.21 {
1.22 //branchPropertyWindow->setModel (model ); //FIXME-1 this used to be called from BranchObj::select()
1.23 +
1.24 if (model && model==currentModel() )
1.25 {
1.26 // NoteEditor
1.27 @@ -3811,8 +3813,8 @@
1.28
1.29 void Main::testFunction1()
1.30 {
1.31 - if (!currentMapEditor()) return;
1.32 - currentMapEditor()->testFunction1();
1.33 + //if (!currentMapEditor()) return;
1.34 + //currentMapEditor()->testFunction1();
1.35 //editAttribute();
1.36 }
1.37