From 88a0dc1bb2bc24609a8556f6a4d4214b797bde04 Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Fri, 18 Jul 2014 14:57:14 +0400 Subject: Add missing application icon Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/divelogexportdialog.ui | 5 +++++ qt-ui/updatemanager.cpp | 1 + qt-ui/usermanual.cpp | 2 ++ qt-ui/usersurvey.cpp | 1 + 4 files changed, 9 insertions(+) diff --git a/qt-ui/divelogexportdialog.ui b/qt-ui/divelogexportdialog.ui index f48877f12..aeed08895 100644 --- a/qt-ui/divelogexportdialog.ui +++ b/qt-ui/divelogexportdialog.ui @@ -13,6 +13,11 @@ Export dive log files + + + :/subsurface-icon + + diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp index b790a6104..f92eeb873 100644 --- a/qt-ui/updatemanager.cpp +++ b/qt-ui/updatemanager.cpp @@ -60,6 +60,7 @@ void UpdateManager::requestReceived() } msgbox.setWindowTitle(msgTitle); + msgbox.setWindowIcon(QIcon(":/subsurface-icon")); msgbox.setText(msgText); msgbox.setTextFormat(Qt::RichText); msgbox.exec(); diff --git a/qt-ui/usermanual.cpp b/qt-ui/usermanual.cpp index b878f22ca..b6e6f09d6 100644 --- a/qt-ui/usermanual.cpp +++ b/qt-ui/usermanual.cpp @@ -53,6 +53,8 @@ UserManual::UserManual(QWidget *parent) : QWidget(parent) addAction(actionHideSearch); setWindowTitle(tr("User Manual")); + setWindowIcon(QIcon(":/subsurface-icon")); + userManual = new QWebView(this); userManual->page()->setLinkDelegationPolicy(QWebPage::DelegateExternalLinks); diff --git a/qt-ui/usersurvey.cpp b/qt-ui/usersurvey.cpp index 24e2070e0..8e57df940 100644 --- a/qt-ui/usersurvey.cpp +++ b/qt-ui/usersurvey.cpp @@ -118,6 +118,7 @@ void UserSurvey::requestReceived() } msgbox.setWindowTitle(msgTitle); + msgbox.setWindowIcon(QIcon(":/subsurface-icon")); msgbox.setText(msgText); msgbox.setTextFormat(Qt::RichText); msgbox.exec(); -- cgit v1.2.3-70-g09d2