summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-07-18 14:57:14 +0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-18 10:21:42 -0700
commit88a0dc1bb2bc24609a8556f6a4d4214b797bde04 (patch)
tree0fed46cbb57723e2e42319fbabf5ae2002e824ce /qt-ui
parent21a1fc2a4f816c53f6db995b419d902363dfe751 (diff)
downloadsubsurface-88a0dc1bb2bc24609a8556f6a4d4214b797bde04.tar.gz
Add missing application icon
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/divelogexportdialog.ui5
-rw-r--r--qt-ui/updatemanager.cpp1
-rw-r--r--qt-ui/usermanual.cpp2
-rw-r--r--qt-ui/usersurvey.cpp1
4 files changed, 9 insertions, 0 deletions
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 @@
<property name="windowTitle">
<string>Export dive log files</string>
</property>
+ <property name="windowIcon">
+ <iconset>
+ <normalon>:/subsurface-icon</normalon>
+ </iconset>
+ </property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
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();