Skip to content
Permalink
Browse files
Fix startup NSBitmapImageRep exceptions on macOS, due to missing files
See qgis/homebrew-qgisdev#27

Exceptions happen when PNGs were changed to SVGs, but the .ui file was
not entirely updated. Then, when PNGs were deleted, a valid, but null,
QIcon gets created for the macOS menu item and the exception is thrown.

Qt 5.8.0 regression.
  • Loading branch information
dakcarto committed Apr 6, 2017
1 parent 375814e commit d303ca8cdc3010659c67faa0e8285877633f92e6
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/ui/qgisapp.ui
@@ -2182,8 +2182,8 @@ Acts on currently active editable layer</string>
<bool>true</bool>
</property>
<property name="icon">
<iconset>
<normaloff>:/images/themes/default/mActionRotateFeature.png</normaloff>:/images/themes/default/mActionRotateFeature.png</iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionRotateFeature.svg</normaloff>:/images/themes/default/mActionRotateFeature.svg</iconset>
</property>
<property name="text">
<string>Rotate Feature(s)</string>
@@ -2330,8 +2330,8 @@ Acts on currently active editable layer</string>
<bool>true</bool>
</property>
<property name="icon">
<iconset>
<normaloff>:/images/themes/default/mActionFillRing.png</normaloff>:/images/themes/default/mActionFillRing.png</iconset>
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionFillRing.svg</normaloff>:/images/themes/default/mActionFillRing.svg</iconset>
</property>
<property name="text">
<string>Fill Ring</string>

0 comments on commit d303ca8

Please sign in to comment.