Skip to content

Commit

Permalink
enabled page size hacks again, qt is still shit as it was
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5474 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 18, 2006
1 parent 4a42416 commit 0530993
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/composer/qgscomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 );

Expand Down

0 comments on commit 0530993

Please sign in to comment.