Show subsurface logo in dive plan print out

A little bit of CI: Print our logo on the print out dive plan.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2014-07-01 09:57:54 +02:00 committed by Dirk Hohndel
parent 1b7abab9b9
commit 496f658838

View file

@ -453,7 +453,7 @@ void MainWindow::printPlan()
{
#ifndef NO_PRINTING
QString diveplan = ui.divePlanOutput->toHtml();
QString withDisclaimer = diveplan + QString(disclaimer);
QString withDisclaimer = QString("<img height=50 src=\":subsurface-icon\"> ") + diveplan + QString(disclaimer);
QPrinter printer;
QPrintDialog *dialog = new QPrintDialog(&printer, this);