diff -r f396157bbb06 -r d4b49c6c6069 exportxhtmldialog.cpp
--- a/exportxhtmldialog.cpp Wed Jun 20 10:51:44 2007 +0000
+++ b/exportxhtmldialog.cpp Wed Jan 16 15:45:19 2008 +0000
@@ -85,16 +85,18 @@
ui.outputButton->setChecked(showOutput);
// For testing better use local styles
+ const QString defxsl(vymBaseDir.path() + "/styles/vym2xhtml.xsl");
+ const QString defcss(vymBaseDir.path() + "/styles/vym.css");
if (options.isOn ("local"))
{
- xsl=vymBaseDir.path()+"/styles/vym2xhtml.xsl";
- css=vymBaseDir.path()+"/styles/vym.css";
+ xsl=defxsl;
+ css=defcss;
} else
{
xsl=settings.readLocalEntry
- (filepath,"/export/xhtml/xsl","/usr/share/vym/styles/vym2xhtml.xsl");
+ (filepath,"/export/xhtml/xsl",defxsl);
css=settings.readLocalEntry
- (filepath,"/export/xhtml/css","/usr/share/vym/styles/vym.css");
+ (filepath,"/export/xhtml/css",defcss);
}
ui.lineEditXSL->setText(xsl);
ui.lineEditCSS->setText(css);