Skip to content
Permalink
Browse files

Replace an icon with svg version

  • Loading branch information
nyalldawson committed May 25, 2020
1 parent b131972 commit 17aef6e01d2f736201e41bfad1591360613e3477
@@ -870,7 +870,6 @@
<file>themes/default/georeferencer/mActionDeleteGCPPoint.png</file>
<file>themes/default/georeferencer/mActionMoveGCPPoint.png</file>
<file>themes/default/georeferencer/mActionSaveGCPpointsAs.png</file>
<file>themes/default/georeferencer/mActionStartGeoref.png</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Binary file not shown.
@@ -839,7 +839,7 @@ void QgsGeoreferencerMainWindow::createActions()
mActionOpenRaster->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionAddRasterLayer.svg" ) ) );
connect( mActionOpenRaster, &QAction::triggered, this, &QgsGeoreferencerMainWindow::openRaster );

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

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

mActionQuit->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionQuit.png" ) ) );
mActionQuit->setShortcuts( QList<QKeySequence>() << QKeySequence( Qt::CTRL + Qt::Key_Q )
<< QKeySequence( Qt::Key_Escape ) );
connect( mActionQuit, &QAction::triggered, this, &QWidget::close );
@@ -3341,6 +3341,10 @@ Shows placeholders for labels which could not be placed, e.g. due to overlaps wi
</property>
</action>
<action name="mActionShowGeoreferencer">
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/georeferencer/mGeorefRun.png</normaloff>:/images/themes/default/georeferencer/mGeorefRun.png</iconset>
</property>
<property name="text">
<string>Georeferencer…</string>
</property>

0 comments on commit 17aef6e

Please sign in to comment.
You can’t perform that action at this time.