Skip to content

Commit 17aef6e

Browse files
committedMay 25, 2020
Replace an icon with svg version
1 parent b131972 commit 17aef6e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed
 

‎images/images.qrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,6 @@
870870
<file>themes/default/georeferencer/mActionDeleteGCPPoint.png</file>
871871
<file>themes/default/georeferencer/mActionMoveGCPPoint.png</file>
872872
<file>themes/default/georeferencer/mActionSaveGCPpointsAs.png</file>
873-
<file>themes/default/georeferencer/mActionStartGeoref.png</file>
874873
</qresource>
875874
<qresource prefix="/images/tips">
876875
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Binary file not shown.

‎src/app/georeferencer/qgsgeorefmainwindow.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ void QgsGeoreferencerMainWindow::createActions()
839839
mActionOpenRaster->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionAddRasterLayer.svg" ) ) );
840840
connect( mActionOpenRaster, &QAction::triggered, this, &QgsGeoreferencerMainWindow::openRaster );
841841

842-
mActionStartGeoref->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/georeferencer/mActionStartGeoref.png" ) ) );
842+
mActionStartGeoref->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionStart.svg" ) ) );
843843
connect( mActionStartGeoref, &QAction::triggered, this, &QgsGeoreferencerMainWindow::doGeoreference );
844844

845845
mActionGDALScript->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/georeferencer/mActionGDALScript.png" ) ) );
@@ -909,7 +909,6 @@ void QgsGeoreferencerMainWindow::createActions()
909909
mActionHelp = new QAction( tr( "Help" ), this );
910910
connect( mActionHelp, &QAction::triggered, this, &QgsGeoreferencerMainWindow::showHelp );
911911

912-
mActionQuit->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionQuit.png" ) ) );
913912
mActionQuit->setShortcuts( QList<QKeySequence>() << QKeySequence( Qt::CTRL + Qt::Key_Q )
914913
<< QKeySequence( Qt::Key_Escape ) );
915914
connect( mActionQuit, &QAction::triggered, this, &QWidget::close );

‎src/ui/qgisapp.ui

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3341,6 +3341,10 @@ Shows placeholders for labels which could not be placed, e.g. due to overlaps wi
33413341
</property>
33423342
</action>
33433343
<action name="mActionShowGeoreferencer">
3344+
<property name="icon">
3345+
<iconset resource="../../images/images.qrc">
3346+
<normaloff>:/images/themes/default/georeferencer/mGeorefRun.png</normaloff>:/images/themes/default/georeferencer/mGeorefRun.png</iconset>
3347+
</property>
33443348
<property name="text">
33453349
<string>Georeferencer…</string>
33463350
</property>

0 commit comments

Comments
 (0)
Please sign in to comment.