1.1 --- a/exportxhtmldialog.cpp Mon Feb 19 12:01:52 2007 +0000
1.2 +++ b/exportxhtmldialog.cpp Mon Jul 09 10:23:39 2007 +0000
1.3 @@ -11,6 +11,7 @@
1.4 extern Options options;
1.5 extern QDir vymBaseDir;
1.6 extern Settings settings;
1.7 +extern bool debug;
1.8
1.9 ExportXHTMLDialog::ExportXHTMLDialog(QWidget* parent) : QDialog(parent)
1.10 {
1.11 @@ -118,11 +119,15 @@
1.12 }
1.13 }
1.14
1.15 +void ExportXHTMLDialog::setDir(const QString &d)
1.16 +{
1.17 + dir=d;
1.18 + if (dir.right(1)!="/") dir+="/";
1.19 +}
1.20 +
1.21 void ExportXHTMLDialog::dirChanged()
1.22 {
1.23 - dir=ui.lineEditDir->text();
1.24 - if (dir.right(1)!="/")
1.25 - dir+="/";
1.26 + setDir (ui.lineEditDir->text());
1.27 settingsChanged=true;
1.28 }
1.29