mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
Set the icon of the application
This commit is contained in:
parent
6320a4e088
commit
70b5e9ceb4
@ -4,6 +4,10 @@
|
||||
KiwixApp::KiwixApp(int& argc, char *argv[])
|
||||
: QApplication(argc, argv)
|
||||
{
|
||||
auto icon = QIcon();
|
||||
icon.addFile(":/icons/kiwix/app_icon.svg");
|
||||
setWindowIcon(icon);
|
||||
|
||||
mainWindow = new MainWindow;
|
||||
setApplicationName("kiwix-desktop");
|
||||
mainWindow->show();
|
||||
|
1
resources/icons/kiwix/app_icon.svg
Executable file
1
resources/icons/kiwix/app_icon.svg
Executable file
@ -0,0 +1 @@
|
||||
<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><title>icon / kiwix_app_icon_white_bg</title><g fill-rule="nonzero" fill="none"><path d="M417.3 336.484c0 37.056-30.02 67.095-67.05 67.095-37.031 0-67.05-30.04-67.05-67.095 0-37.056 30.019-67.095 67.05-67.095 37.03 0 67.05 30.04 67.05 67.095z" fill="#000"/><path d="M173.53 96.333C78.598 97.703 6.272 201.125 99 295.013l24.716 64.446c4.104 14.732-9.816 47.152-3.654 56.204 7.1-13.9 8.887-33.773 18.271-36.064 16.505 11.545 40.921 15.462 54.72 30.35 5.156-14.433-15.757-21.804-33.274-30.069 16.37 2.706 27.694-6.08 39.814 8.056 1.785-7.152-.469-12.62-5.193-17.049l-7.405-10.023c13.689 7.199 47.757 7.154 55.585 19.765 3.025-23.865-25.623-15.714-39.141-22.856 8.772 1.078 17.486-3.245 26.158-2.06-2.324-6.695-6.316-9.59-12.214-9.087-46.508 10.98-49.782-66.825-49.142-88.895 62.431-26.23 125.48 20.824 175.7-24.355 16.443-24.328 84.312 39.21 105.207 93.017 31.241-13.083-57.884-98.542-83.763-121.68 13.518-35.587-39.154-87.39-86.743-64.54-33.485-31.491-70.773-44.335-105.111-43.84zm-25.195 192.31c4.553-.098 8.237 2.362 8.944 7.4l10.097 47.773c-5.44 1.551-7.809 6.943-6.731 16.674 2.304-2.694 3.254-7.297 8.558-5.808l12.502 15.924c-42.518 3.293-45.793-20.5-53.18-59.856 2.25-14.609 12.222-21.944 19.81-22.107z" fill="#000"/><path d="M331.014 185.048c0 11.125-8.58 20.144-19.162 20.144-10.583 0-19.163-9.019-19.163-20.144 0-11.125 8.58-20.144 19.163-20.144s19.162 9.019 19.162 20.144z" fill="#FFF"/><path d="M328.815 195.125c0 7.113-5.485 12.879-12.251 12.879-6.766 0-12.251-5.766-12.251-12.879 0-7.113 5.485-12.879 12.251-12.879 6.766 0 12.251 5.766 12.251 12.88z" fill="#000"/></g></svg>
|
After Width: | Height: | Size: 1.6 KiB |
@ -39,5 +39,6 @@
|
||||
<file>icons/filter.svg</file>
|
||||
<file>icons/reading-list.svg</file>
|
||||
<file>icons/reading-list-active.svg</file>
|
||||
<file>icons/kiwix/app_icon.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Loading…
x
Reference in New Issue
Block a user