Skip to content

Commit

Permalink
USe rcc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugen Fischer authored and Eugen Fischer committed Feb 5, 2024
1 parent c617aba commit 5b6c076
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ include(FeatureSummary)

set(BIN_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")

set(NMC_RCC_FILE "nmctheme_v1.rcc")
configure_file(${CMAKE_SOURCE_DIR}/${NMC_RCC_FILE} "${BIN_OUTPUT_DIRECTORY}/${NMC_RCC_FILE}" COPYONLY)

include(${CMAKE_SOURCE_DIR}/NEXTCLOUD.cmake)

# CfAPI Shell Extensions
Expand Down
Binary file added nmctheme_v1.rcc
Binary file not shown.
1 change: 1 addition & 0 deletions src/gui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ int main(int argc, char **argv)
#ifdef Q_OS_WIN
SetDllDirectory(L"");
#endif
QResource::registerResource(QDir::toNativeSeparators(QDir::currentPath() + "/nmctheme_v1.rcc"));
Q_INIT_RESOURCE(resources);
Q_INIT_RESOURCE(theme);

Expand Down
1 change: 0 additions & 1 deletion theme.qrc.in
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,5 @@
<file>theme/delete.svg</file>
<file>theme/send.svg</file>
<file>theme/call-notification.wav</file>
<file>theme/NMCIcons/cloud-security.svg</file>
</qresource>
</RCC>
7 changes: 0 additions & 7 deletions theme/NMCIcons/cloud-security.svg

This file was deleted.

0 comments on commit 5b6c076

Please sign in to comment.