This commit is contained in:
Le Tan 2018-10-24 19:56:15 +08:00
parent 09ae24395d
commit 1b39cf4af5
4 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# Welcome to VNote # Welcome to VNote
![VNote](qrc:/resources/icons/vnote.svg =128x) ![VNote](qrc:/resources/icons/256x256/vnote.png)
> A Vim-inspired note-taking application that knows programmers and Markdown better. > A Vim-inspired note-taking application that knows programmers and Markdown better.

View File

@ -1,5 +1,5 @@
# 欢迎使用VNote # 欢迎使用VNote
![VNote](qrc:/resources/icons/vnote.svg =128x) ![VNote](qrc:/resources/icons/256x256/vnote.png)
> 一个受Vim启发的、更懂程序员和Markdown的笔记软件。 > 一个受Vim启发的、更懂程序员和Markdown的笔记软件。

View File

@ -2630,7 +2630,13 @@ void VMainWindow::initTrayIcon()
connect(exitAct, &QAction::triggered, connect(exitAct, &QAction::triggered,
this, &VMainWindow::quitApp); 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->setToolTip(tr("VNote"));
m_trayIcon->setContextMenu(menu); m_trayIcon->setContextMenu(menu);

View File

@ -75,7 +75,6 @@
<file>resources/icons/strikethrough.svg</file> <file>resources/icons/strikethrough.svg</file>
<file>resources/icons/inline_code.svg</file> <file>resources/icons/inline_code.svg</file>
<file>resources/icons/close_note_tb.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/icons/editing_modified.svg</file>
<file>resources/docs/markdown_guide_en.md</file> <file>resources/docs/markdown_guide_en.md</file>
<file>resources/docs/markdown_guide_zh.md</file> <file>resources/docs/markdown_guide_zh.md</file>
@ -276,5 +275,6 @@
<file>resources/icons/delete.svg</file> <file>resources/icons/delete.svg</file>
<file>resources/docs/welcome_en.md</file> <file>resources/docs/welcome_en.md</file>
<file>resources/docs/welcome_zh.md</file> <file>resources/docs/welcome_zh.md</file>
<file>resources/icons/256x256/vnote.png</file>
</qresource> </qresource>
</RCC> </RCC>