Added argument to JobData constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6584 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,7 +57,7 @@ void GraphicsDriver::setupData(BFile *spool_file, long page_count)
|
||||
{
|
||||
BMessage *msg = new BMessage();
|
||||
msg->Unflatten(spool_file);
|
||||
fOrgJobData = new JobData(msg, fPrinterCap);
|
||||
fOrgJobData = new JobData(msg, fPrinterCap, JobData::kJobSettings);
|
||||
DUMP_BMESSAGE(msg);
|
||||
delete msg;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ UIDriver::~UIDriver()
|
||||
BMessage *UIDriver::configPage()
|
||||
{
|
||||
BMessage *clone_msg = new BMessage(*fMsg);
|
||||
JobData *job_data = new JobData(clone_msg, fPrinterCap);
|
||||
JobData *job_data = new JobData(clone_msg, fPrinterCap, JobData::kPageSettings);
|
||||
|
||||
if (doPageSetup(job_data,fPrinterData, fPrinterCap) < 0) {
|
||||
delete clone_msg;
|
||||
@@ -40,7 +40,7 @@ BMessage *UIDriver::configPage()
|
||||
BMessage *UIDriver::configJob()
|
||||
{
|
||||
BMessage *clone_msg = new BMessage(*fMsg);
|
||||
JobData *job_data = new JobData(clone_msg, fPrinterCap);
|
||||
JobData *job_data = new JobData(clone_msg, fPrinterCap, JobData::kJobSettings);
|
||||
|
||||
if (doJobSetup(job_data, fPrinterData, fPrinterCap) < 0) {
|
||||
delete clone_msg;
|
||||
|
||||
Reference in New Issue
Block a user