summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-07-01 09:57:54 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-01 07:05:12 -0700
commit496f658838996cfeab959337eb36b129c86ff49b (patch)
tree594688baf171378cb5f261100248787fb7145788 /qt-ui/mainwindow.cpp
parent1b7abab9b9c5b5f3c9e9ea6aba7dc32b705316f2 (diff)
downloadsubsurface-496f658838996cfeab959337eb36b129c86ff49b.tar.gz
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>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 27f025402..e5bfdd08b 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -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);