Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 93391df
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/composer/qgscomposer.cpp
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 93391df

Please sign in to comment.