mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: small coding style fixes
And addressing a cut and paste error in a comment. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1bdf00b2b4
commit
2feedf46fa
8 changed files with 13 additions and 17 deletions
|
@ -100,9 +100,9 @@ void Printer::flowRender()
|
|||
emit(progessUpdated(lrint((end * 80.0 / fullPageResolution) + done)));
|
||||
|
||||
// add new pages only in print mode, while previewing we don't add new pages
|
||||
if (printMode == Printer::PRINT)
|
||||
if (printMode == Printer::PRINT) {
|
||||
static_cast<QPrinter*>(paintDevice)->newPage();
|
||||
else {
|
||||
} else {
|
||||
painter.end();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue