summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 18:54:28 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 18:56:25 +0200
commit1ab915a7d9fa26db75c5d26b0a5d6a009efa4f58 (patch)
tree79a10f839da87a89815c344623580f05e4f771c3 /qt-ui/printdialog.cpp
parentf183da546b4aed34e7ab5b51903d0bb27930c711 (diff)
downloadsubsurface-1ab915a7d9fa26db75c5d26b0a5d6a009efa4f58.tar.gz
Print: add an icon for the print dialog
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printdialog.cpp')
-rw-r--r--qt-ui/printdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp
index f083c5479..76e3a8782 100644
--- a/qt-ui/printdialog.cpp
+++ b/qt-ui/printdialog.cpp
@@ -35,7 +35,8 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f)
layout->addWidget(optionsWidget);
setFixedSize(520, 320);
- setWindowTitle("Print");
+ setWindowTitle(tr("Print"));
+ setWindowIcon(QIcon(":subsurface-icon"));
}
void PrintDialog::runDialog()