diff -r 9ae68208e2ff -r 7ee5bf3647d3 exportxhtmldialog.cpp
--- a/exportxhtmldialog.cpp Mon Feb 19 12:01:52 2007 +0000
+++ b/exportxhtmldialog.cpp Thu Nov 08 15:28:03 2007 +0000
@@ -11,6 +11,7 @@
extern Options options;
extern QDir vymBaseDir;
extern Settings settings;
+extern bool debug;
ExportXHTMLDialog::ExportXHTMLDialog(QWidget* parent) : QDialog(parent)
{
@@ -118,11 +119,15 @@
}
}
+void ExportXHTMLDialog::setDir(const QString &d)
+{
+ dir=d;
+ if (dir.right(1)!="/") dir+="/";
+}
+
void ExportXHTMLDialog::dirChanged()
{
- dir=ui.lineEditDir->text();
- if (dir.right(1)!="/")
- dir+="/";
+ setDir (ui.lineEditDir->text());
settingsChanged=true;
}