exports.cpp
changeset 434 c585be63ec69
parent 428 9ae68208e2ff
child 440 c6a8651e6bbc
     1.1 --- a/exports.cpp	Mon Feb 19 12:01:52 2007 +0000
     1.2 +++ b/exports.cpp	Tue Mar 06 19:37:39 2007 +0000
     1.3 @@ -166,12 +166,11 @@
     1.4  	if (mapCenter) me=mapCenter->getMapEditor();
     1.5  	if (me)
     1.6  	{
     1.7 -		cout << "starting KDE export\n";
     1.8  		WarningDialog dia;
     1.9  		dia.showCancelButton (true);
    1.10  		dia.setText(QObject::tr("Exporting the %1 bookmarks will overwrite\nyour existing bookmarks file.").arg("KDE"));
    1.11  		dia.setCaption(QObject::tr("Warning: Overwriting %1 bookmarks").arg("KDE"));
    1.12 -		dia.setShowAgainName("/vym/warnings/overwriteKDEBookmarks");
    1.13 +		dia.setShowAgainName("/exports/KDE/overwriteKDEBookmarks");
    1.14  		if (dia.exec()==QDialog::Accepted)
    1.15  		{
    1.16  			me->exportXML(tmpDir.path());
    1.17 @@ -180,11 +179,9 @@
    1.18  			p.setInputFile (tmpDir.path()+"/"+me->getMapName()+".xml");
    1.19  			p.setOutputFile (tmpDir.home().path()+"/.kde/share/apps/konqueror/bookmarks.xml");
    1.20  			p.setXSLFile (vymBaseDir.path()+"/styles/vym2kdebookmarks.xsl");
    1.21 -			cout << "Trying to call vym2kde\n";
    1.22  			p.process();
    1.23  
    1.24  			QString ub=vymBaseDir.path()+"/scripts/update-bookmarks";
    1.25 -			cout << "Trying to call "<<ub.ascii()<<endl;
    1.26  			QProcess *proc= new QProcess ;
    1.27  			proc->start( ub);
    1.28  			if (!proc->waitForStarted())