Skip to content
Permalink
Browse files
different icons for GPS importer and Create new GPX layer (fix #6860)
  • Loading branch information
alexbruy committed Feb 21, 2013
1 parent 51edf52 commit 64c9a4dec44e8f3dd4aa93674cc56b3b2409f531
@@ -412,7 +412,8 @@
<file>themes/gis/plugins/copyright_label.png</file>
<file>themes/gis/plugins/delimited_text.png</file>
<file>themes/gis/plugins/dxf2shp_converter.png</file>
<file>themes/gis/plugins/gps_importer.png</file>
<file>themes/gis/plugins/gps_importer/create_gpx.png</file>
<file>themes/gis/plugins/gps_importer/import_gpx.png</file>
<file>themes/gis/plugins/interpolation.png</file>
<file>themes/gis/plugins/mapserver_export.png</file>
<file>themes/gis/plugins/mGeorefRun.png</file>
@@ -1,4 +1,5 @@
ADD_SUBDIRECTORY(coordinate_capture)
ADD_SUBDIRECTORY(gps_importer)

FILE (GLOB IMAGES *.png)

@@ -0,0 +1,4 @@
FILE (GLOB IMAGES *.png)

INSTALL (FILES ${IMAGES}
DESTINATION ${QGIS_DATA_DIR}/themes/gis/plugins/gps_importer)
Binary file not shown.
Binary file not shown.
@@ -661,13 +661,13 @@ void QgsGPSPlugin::setupBabel()
void QgsGPSPlugin::setCurrentTheme( QString theThemeName )
{
Q_UNUSED( theThemeName );
QString myCurThemePath = QgsApplication::activeThemePath() + "/plugins/gps_importer.png";
QString myCurThemePath = QgsApplication::activeThemePath() + "/plugins/gps_importer/";
QString myDefThemePath = QgsApplication::defaultThemePath() + "/plugins/gps_importer.png";
QString myQrcPath = ":/gps_importer.png";
if ( QFile::exists( myCurThemePath ) )
{
mQActionPointer->setIcon( QIcon( myCurThemePath ) );
mCreateGPXAction->setIcon( QIcon( myCurThemePath ) );
mQActionPointer->setIcon( QIcon( myCurThemePath + "import_gpx.png" ) );
mCreateGPXAction->setIcon( QIcon( myCurThemePath + "create_gpx.png" ) );
}
else if ( QFile::exists( myDefThemePath ) )
{

0 comments on commit 64c9a4d

Please sign in to comment.