~ubuntu-branches/ubuntu/utopic/qpdfview/utopic-proposed

« back to all changes in this revision

Viewing changes to sources/printdialog.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2014-05-19 14:39:20 UTC
  • mfrom: (1.2.14)
  • Revision ID: package-import@ubuntu.com-20140519143920-buukpma5b4hmnpt3
Tags: 0.4.10-1
* New upstream release.
* Implemented an option to zoom to selection (Closes: #739554)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
#include "settings.h"
30
30
 
 
31
namespace qpdfview
 
32
{
 
33
 
31
34
Settings* PrintDialog::s_settings = 0;
32
35
 
33
36
QPrinter* PrintDialog::createPrinter()
130
133
    s_settings->printDialog().setNumberUp(static_cast< PrintOptions::NumberUp >(m_numberUpComboBox->itemData(m_numberUpComboBox->currentIndex()).toUInt()));
131
134
    s_settings->printDialog().setNumberUpLayout(static_cast< PrintOptions::NumberUpLayout >(m_numberUpLayoutComboBox->itemData(m_numberUpLayoutComboBox->currentIndex()).toUInt()));
132
135
}
 
136
 
 
137
} // qpdfview