force hicolor to contain at least one icon

otherwise kiconthemes considers it invalid on windows. make sure it's
valid
This commit is contained in:
Harald Sitter 2024-06-23 00:29:18 +02:00
parent e97cfb6ea6
commit 69b14df176
2 changed files with 13 additions and 0 deletions

View File

@ -74,6 +74,7 @@ target_sources(filelight PRIVATE
fileModel.h
dropperItem.cpp
dropperItem.h
hicolor.qrc
)
set(filelight_ICONS

12
src/hicolor.qrc Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE RCC><RCC version="1.0">
<!--
SPDX-FileCopyrightText: none
SPDX-License-Identifier: CC0-1.0
This file is used to ensure that there is content in the hicolor theme. Without content the theme would be
considered invalid by kiconthemes and we would end up without icons in some cases.
-->
<qresource>
<file alias="icons/hicolor/128x128/apps/filelight.png">../misc/128-apps-filelight.png</file>
</qresource>
</RCC>