Fixed full page restore.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1921 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-08-05 00:32:39 +00:00
parent ba8cd22326
commit 5ce0632beb
2 changed files with 2 additions and 1 deletions

View File

@@ -587,7 +587,7 @@ void DiagramPrintDialog::loadPageSetupForCurrentPrinter() {
if (conv_ok && value != -1.0) margins[i] = value;
}
printer_ -> setPageMargins(margins[0], margins[1], margins[2], margins[3], QPrinter::Millimeter);
printer_ -> setFullPage(settings.setValue("fullpage", "false") == "true");
printer_ -> setFullPage(settings.value("fullpage", "false").toString() == "true");
}
/**