Skip to content

Commit

Permalink
Icon for GPS destination layer
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 7, 2022
1 parent b09f6a8 commit 3aae524
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -971,6 +971,7 @@
<file>themes/default/gpsicons/mActionRecenter.svg</file>
<file>themes/default/gpsicons/mActionReset.svg</file>
<file>themes/default/gpsicons/mActionAddTrackPoint.svg</file>
<file>themes/default/gpsicons/mIconGpsDestinationLayer.svg</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/gps/qgsgpstoolbar.cpp
Expand Up @@ -93,7 +93,7 @@ QgsGpsToolBar::QgsGpsToolBar( QgsAppGpsConnection *connection, QgsMapCanvas *can
mDestinationLayerButton->setToolTip( tr( "Set destination layer for GPS digitized features" ) );
mDestinationLayerButton->setMenu( mDestinationLayerMenu );
mDestinationLayerButton->setPopupMode( QToolButton::InstantPopup );
mDestinationLayerButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionOptions.svg" ) ) );
mDestinationLayerButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/gpsicons/mIconGpsDestinationLayer.svg" ) ) );
addWidget( mDestinationLayerButton );

mAddTrackVertexAction = new QAction( tr( "Add Track Vertex" ), this );
Expand Down

0 comments on commit 3aae524

Please sign in to comment.