mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
* 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:
parent
6c5ff3bf46
commit
a96a5c55af
@ -20,12 +20,16 @@
|
|||||||
|
|
||||||
#include "controllers/ControlPrint.h"
|
#include "controllers/ControlPrint.h"
|
||||||
|
|
||||||
|
#include "support/os.h"
|
||||||
|
|
||||||
#include <qlineedit.h>
|
#include <qlineedit.h>
|
||||||
#include <qcheckbox.h>
|
#include <qcheckbox.h>
|
||||||
#include <qradiobutton.h>
|
#include <qradiobutton.h>
|
||||||
#include <qspinbox.h>
|
#include <qspinbox.h>
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
|
|
||||||
|
using lyx::support::os::internal_path;
|
||||||
|
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
namespace frontend {
|
namespace frontend {
|
||||||
|
|
||||||
@ -94,7 +98,7 @@ void QPrint::apply()
|
|||||||
|
|
||||||
PrinterParams const pp(t,
|
PrinterParams const pp(t,
|
||||||
fromqstr(dialog_->printerED->text()),
|
fromqstr(dialog_->printerED->text()),
|
||||||
fromqstr(dialog_->fileED->text()),
|
internal_path(fromqstr(dialog_->fileED->text())),
|
||||||
dialog_->allRB->isChecked(),
|
dialog_->allRB->isChecked(),
|
||||||
dialog_->fromED->text().toUInt(),
|
dialog_->fromED->text().toUInt(),
|
||||||
dialog_->toED->text().toUInt(),
|
dialog_->toED->text().toUInt(),
|
||||||
|
Loading…
Reference in New Issue
Block a user