Update program's icon.

This commit is contained in:
Nodir Temirkhodjaev 2019-04-10 12:42:37 +05:00
parent 8ca9ff45b0
commit ada5b3dc6f
5 changed files with 4 additions and 2 deletions

View File

@ -11,9 +11,10 @@
"${QTPATH}/bin/Qt5Widgets.dll"
],
"fort": [
"${ROOT}/ChangeLog",
"${BUILD}/FortFirewall.exe",
"${ROOT}/ChangeLog",
"${ROOT}/src/scripts | *.qs Readme.txt |",
"${ROOT}/src/ui/FortFirewall.ico",
"${ROOT}/src/ui/i18n | *.qm |"
]
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 894 B

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -28,6 +28,7 @@
<file>images/resultset_previous.png</file>
<file>images/run.png</file>
<file>images/shield.png</file>
<file>images/sheild-96.png</file>
<file>images/textfield_rename.png</file>
<file>images/tick.png</file>
<file>images/world.png</file>

View File

@ -196,7 +196,7 @@ void FortManager::setupTranslationManager()
void FortManager::setupTrayIcon()
{
m_trayIcon->setToolTip(QGuiApplication::applicationDisplayName());
m_trayIcon->setIcon(QIcon(":/images/shield.png"));
m_trayIcon->setIcon(QIcon(":/images/sheild-96.png"));
connect(m_trayIcon, &QSystemTrayIcon::activated, this,
[this](QSystemTrayIcon::ActivationReason reason) {

BIN
src/ui/images/sheild-96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB