update icon

Change-Id: I4356a2ecf8b1eb2f9414a167ab35e6c9cd7ced16
This commit is contained in:
石博文 2017-11-24 14:07:47 +08:00
parent d5d01755ee
commit 73e4a2c85f
Notes: Deepin Code Review 2017-11-24 14:19:31 +08:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: 石博文 <sbw@sbw.so>
Submitted-at: Fri, 24 Nov 2017 14:19:31 +0800
Reviewed-on: https://cr.deepin.io/28857
Project: dde/dde-dock
Branch: refs/heads/master
3 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,6 @@
# 4.5.3
Fix dock crash if system tray' app is quit.
# 4.5.3
Minor bug fixes.

View File

@ -187,8 +187,9 @@ const QPixmap WirelessItem::backgroundPix(const int size)
const QPixmap WirelessItem::cachedPix(const QString &key, const int size)
{
if (!m_icons.contains(key))
m_icons.insert(key, QIcon::fromTheme(key + ".svg",
QIcon(":/wireless/resources/wireless/" + key + ".svg")).pixmap(size));
// m_icons.insert(key, QIcon(":/wireless/resources/wireless/" + key + ".svg").pixmap(size));
m_icons.insert(key, QIcon::fromTheme(key + ".svg",
QIcon(":/wireless/resources/wireless/" + key + ".svg")).pixmap(size));
return m_icons.value(key);
}

View File

@ -1,12 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
<?xml version="1.0" encoding="UTF-8"?>
<svg width="96px" height="96px" viewBox="0 0 96 96" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 41.2 (35397) - http://www.bohemiancoding.com/sketch -->
<title>wireless-disconnect</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
<g id="wireless-disconnect" stroke="#FFFFFF" stroke-width="2">
<path d="M38.0552595,20.0744361 C34.0000002,17 30,14.9782354 24,15 C18,15.0217646 14,17 10,20.0744359 C10,20.0744357 24.0000002,35 24.0000002,35 C24.0000002,35 38.0552599,19.9869714 38.0552595,20.0744361 Z" id="Oval-53"></path>
<g id="wireless-disconnect" stroke="#FFFFFF" stroke-width="4">
<g id="Group" transform="translate(20.000000, 27.000000)">
<path d="M56,10.9739432 C48.3765476,4.63630764 40,0 28,0 C16,2.92525018e-16 7.59274387,4.74117131 0,10.9739432 L28,41 C28,41 56,10.9739432 56,10.9739432 Z" id="Oval-53"></path>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 848 B

After

Width:  |  Height:  |  Size: 872 B