We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a42416 commit 0530993Copy full SHA for 0530993
src/composer/qgscomposer.cpp
@@ -314,9 +314,7 @@ void QgsComposer::on_mActionPrint_activated(void)
314
try {
315
std::cout << "Print to file" << std::endl;
316
317
-// Hopefully these hacks will not be necessary with Qt4
318
-//#ifdef Q_WS_X11
319
-#ifdef XXX
+#ifdef Q_WS_X11
320
// NOTE: On UNIX setPageSize after setup() works, but setOrientation does not
321
// -> the BoundingBox must follow the orientation
322
@@ -336,9 +334,7 @@ void QgsComposer::on_mActionPrint_activated(void)
336
334
337
335
p.end();
338
339
340
341
342
// reset the page
343
mPrinter->setPageSize ( psize );
344
0 commit comments