Skip to content
Permalink
Browse files
enabled page size hacks again, qt is still shit as it was
git-svn-id: http://svn.osgeo.org/qgis/trunk@5474 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 18, 2006
1 parent d2c057a commit 93391df6079cca81780817203a8462d066a196f5
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/composer/qgscomposer.cpp
@@ -314,9 +314,7 @@ void QgsComposer::on_mActionPrint_activated(void)
try {
std::cout << "Print to file" << std::endl;

// Hopefully these hacks will not be necessary with Qt4
//#ifdef Q_WS_X11
#ifdef XXX
#ifdef Q_WS_X11
// NOTE: On UNIX setPageSize after setup() works, but setOrientation does not
// -> the BoundingBox must follow the orientation

@@ -336,9 +334,7 @@ void QgsComposer::on_mActionPrint_activated(void)

p.end();

// Hopefully these hacks will not be necessary with Qt4
//#ifdef Q_WS_X11
#ifdef XXX
#ifdef Q_WS_X11
// reset the page
mPrinter->setPageSize ( psize );

0 comments on commit 93391df

Please sign in to comment.