Uwe Stöhr wrote: > The print dialog is currently unusable on Windows due to bug 3915: > http://bugzilla.lyx.org/show_bug.cgi?id=3915 > While trying to find the reason for bug 3915 I found this crash bug: > http://bugzilla.lyx.org/show_bug.cgi?id=3916
Please try if the attached fixes the crash at least. Jürgen
Index: src/frontends/qt4/QPrint.cpp =================================================================== --- src/frontends/qt4/QPrint.cpp (Revision 18879) +++ src/frontends/qt4/QPrint.cpp (Arbeitskopie) @@ -20,12 +20,16 @@ #include "controllers/ControlPrint.h" +#include "support/os.h" + #include <qlineedit.h> #include <qcheckbox.h> #include <qradiobutton.h> #include <qspinbox.h> #include <qpushbutton.h> +using lyx::support::os::internal_path; + namespace lyx { namespace frontend { @@ -94,7 +98,7 @@ PrinterParams const pp(t, fromqstr(dialog_->printerED->text()), - fromqstr(dialog_->fileED->text()), + internal_path(fromqstr(dialog_->fileED->text())), dialog_->allRB->isChecked(), dialog_->fromED->text().toUInt(), dialog_->toED->text().toUInt(),