mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
fix icon
This commit is contained in:
parent
09ae24395d
commit
1b39cf4af5
@ -1,5 +1,5 @@
|
||||
# Welcome to VNote
|
||||

|
||||

|
||||
|
||||
> A Vim-inspired note-taking application that knows programmers and Markdown better.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 欢迎使用VNote
|
||||

|
||||

|
||||
|
||||
> 一个受Vim启发的、更懂程序员和Markdown的笔记软件。
|
||||
|
||||
|
@ -2630,7 +2630,13 @@ void VMainWindow::initTrayIcon()
|
||||
connect(exitAct, &QAction::triggered,
|
||||
this, &VMainWindow::quitApp);
|
||||
|
||||
m_trayIcon = new QSystemTrayIcon(QIcon(":/resources/icons/32x32/vnote.png"), this);
|
||||
QIcon sysIcon(":/resources/icons/256x256/vnote.png");
|
||||
|
||||
#if defined(Q_OS_MACOS) || defined(Q_OS_MAC)
|
||||
sysIcon.setIsMask(true);
|
||||
#endif
|
||||
|
||||
m_trayIcon = new QSystemTrayIcon(sysIcon, this);
|
||||
m_trayIcon->setToolTip(tr("VNote"));
|
||||
m_trayIcon->setContextMenu(menu);
|
||||
|
||||
|
@ -75,7 +75,6 @@
|
||||
<file>resources/icons/strikethrough.svg</file>
|
||||
<file>resources/icons/inline_code.svg</file>
|
||||
<file>resources/icons/close_note_tb.svg</file>
|
||||
<file>resources/icons/32x32/vnote.png</file>
|
||||
<file>resources/icons/editing_modified.svg</file>
|
||||
<file>resources/docs/markdown_guide_en.md</file>
|
||||
<file>resources/docs/markdown_guide_zh.md</file>
|
||||
@ -276,5 +275,6 @@
|
||||
<file>resources/icons/delete.svg</file>
|
||||
<file>resources/docs/welcome_en.md</file>
|
||||
<file>resources/docs/welcome_zh.md</file>
|
||||
<file>resources/icons/256x256/vnote.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Loading…
x
Reference in New Issue
Block a user