1.1 --- a/exportxhtmldialog.cpp Wed Jun 20 10:51:44 2007 +0000
1.2 +++ b/exportxhtmldialog.cpp Tue Jun 03 08:33:03 2008 +0000
1.3 @@ -85,16 +85,18 @@
1.4 ui.outputButton->setChecked(showOutput);
1.5
1.6 // For testing better use local styles
1.7 + const QString defxsl(vymBaseDir.path() + "/styles/vym2xhtml.xsl");
1.8 + const QString defcss(vymBaseDir.path() + "/styles/vym.css");
1.9 if (options.isOn ("local"))
1.10 {
1.11 - xsl=vymBaseDir.path()+"/styles/vym2xhtml.xsl";
1.12 - css=vymBaseDir.path()+"/styles/vym.css";
1.13 + xsl=defxsl;
1.14 + css=defcss;
1.15 } else
1.16 {
1.17 xsl=settings.readLocalEntry
1.18 - (filepath,"/export/xhtml/xsl","/usr/share/vym/styles/vym2xhtml.xsl");
1.19 + (filepath,"/export/xhtml/xsl",defxsl);
1.20 css=settings.readLocalEntry
1.21 - (filepath,"/export/xhtml/css","/usr/share/vym/styles/vym.css");
1.22 + (filepath,"/export/xhtml/css",defcss);
1.23 }
1.24 ui.lineEditXSL->setText(xsl);
1.25 ui.lineEditCSS->setText(css);