Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 d303ca8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ui/qgisapp.ui
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit d303ca8

Please sign in to comment.