diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-11-30 18:54:28 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-11-30 18:56:25 +0200 |
commit | 1ab915a7d9fa26db75c5d26b0a5d6a009efa4f58 (patch) | |
tree | 79a10f839da87a89815c344623580f05e4f771c3 /qt-ui/printdialog.cpp | |
parent | f183da546b4aed34e7ab5b51903d0bb27930c711 (diff) | |
download | subsurface-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.cpp | 3 |
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() |