* src/frontends/qt4/QPrint.cpp:

- use internal_path to prevent assert on windows (bug 3916).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18896 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-06-26 16:46:40 +00:00
parent 6c5ff3bf46
commit a96a5c55af

View File

@ -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 @@ void QPrint::apply()
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(),