Skip to content

Commit 0530993

Browse files
author
rblazek
committedMay 18, 2006
enabled page size hacks again, qt is still shit as it was
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5474 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 4a42416 commit 0530993

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
 

‎src/composer/qgscomposer.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,7 @@ void QgsComposer::on_mActionPrint_activated(void)
314314
try {
315315
std::cout << "Print to file" << std::endl;
316316

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

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

337335
p.end();
338336

339-
// Hopefully these hacks will not be necessary with Qt4
340-
//#ifdef Q_WS_X11
341-
#ifdef XXX
337+
#ifdef Q_WS_X11
342338
// reset the page
343339
mPrinter->setPageSize ( psize );
344340

0 commit comments

Comments
 (0)
Please sign in to comment.