mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Use Icon with Background on Linux
This commit is contained in:
parent
9f582b3b82
commit
7c2bd975f9
@ -196,7 +196,7 @@ unix {
|
|||||||
!isEmpty(APPIMAGE){
|
!isEmpty(APPIMAGE){
|
||||||
# UGLY work around for the logo name in cutter.desktop
|
# UGLY work around for the logo name in cutter.desktop
|
||||||
# Would be better to have a file called cutter.png in the first place
|
# Would be better to have a file called cutter.png in the first place
|
||||||
system(cp img/cutter.svg $$OUT_PWD/cutter.svg)
|
system(cp img/cutter_appicon.svg $$OUT_PWD/cutter.svg)
|
||||||
|
|
||||||
appimage_root.path = /
|
appimage_root.path = /
|
||||||
appimage_root.files = $$OUT_PWD/cutter.svg $$desktop_file
|
appimage_root.files = $$OUT_PWD/cutter.svg $$desktop_file
|
||||||
|
@ -37,7 +37,7 @@ int main(int argc, char *argv[])
|
|||||||
a.setOrganizationName("cutter");
|
a.setOrganizationName("cutter");
|
||||||
a.setApplicationName("cutter");
|
a.setApplicationName("cutter");
|
||||||
a.setApplicationVersion(APP_VERSION);
|
a.setApplicationVersion(APP_VERSION);
|
||||||
a.setWindowIcon(QIcon(":/img/cutter_white_bg.svg"));
|
a.setWindowIcon(QIcon(":/img/cutter_appicon.svg"));
|
||||||
|
|
||||||
// Set QString codec to UTF-8
|
// Set QString codec to UTF-8
|
||||||
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
|
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
|
||||||
|
@ -59,7 +59,6 @@
|
|||||||
<file>fonts/Inconsolata-Regular.ttf</file>
|
<file>fonts/Inconsolata-Regular.ttf</file>
|
||||||
<file>img/cutter.svg</file>
|
<file>img/cutter.svg</file>
|
||||||
<file>img/cutter_white.svg</file>
|
<file>img/cutter_white.svg</file>
|
||||||
<file>img/cutter_bg.svg</file>
|
<file>img/cutter_appicon.svg</file>
|
||||||
<file>img/cutter_white_bg.svg</file>
|
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
Loading…
Reference in New Issue
Block a user