mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Revert "Use 512x512 icon on osx as lion has bigger icon previews"
This reverts commit b7649a3281
.
This commit is contained in:
@@ -76,9 +76,9 @@ macro (KDE4_ADD_APP_ICON appsources pattern)
|
|||||||
file(GLOB_RECURSE files "${pattern}")
|
file(GLOB_RECURSE files "${pattern}")
|
||||||
# we can only test for the 128-icon like that - we don't use patterns anymore
|
# we can only test for the 128-icon like that - we don't use patterns anymore
|
||||||
foreach (it ${files})
|
foreach (it ${files})
|
||||||
if (it MATCHES ".*512.*" )
|
if (it MATCHES ".*128.*" )
|
||||||
set (_icon ${it})
|
set (_icon ${it})
|
||||||
endif (it MATCHES ".*512.*")
|
endif (it MATCHES ".*128.*")
|
||||||
endforeach (it)
|
endforeach (it)
|
||||||
|
|
||||||
if (_icon)
|
if (_icon)
|
||||||
@@ -101,8 +101,8 @@ macro (KDE4_ADD_APP_ICON appsources pattern)
|
|||||||
set_source_files_properties(${_outfilename}.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
set_source_files_properties(${_outfilename}.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||||
|
|
||||||
else(_icon)
|
else(_icon)
|
||||||
# TODO - try to scale a non-512 icon...? Try to convert an SVG on the fly?
|
# TODO - try to scale a non-128 icon...? Try to convert an SVG on the fly?
|
||||||
message(STATUS "Unable to find an 512x512 icon that matches pattern ${pattern} for variable ${appsources} - application will not have an application icon!")
|
message(STATUS "Unable to find an 128x128 icon that matches pattern ${pattern} for variable ${appsources} - application will not have an application icon!")
|
||||||
endif(_icon)
|
endif(_icon)
|
||||||
|
|
||||||
else(SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE)
|
else(SIPS_EXECUTABLE AND TIFF2ICNS_EXECUTABLE)
|
||||||
|
Reference in New Issue
Block a user