Skip to content

Commit

Permalink
Replace an icon with svg version
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 25, 2020
1 parent b131972 commit 17aef6e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion images/images.qrc
Expand Up @@ -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>
Expand Down
Binary file not shown.
3 changes: 1 addition & 2 deletions src/app/georeferencer/qgsgeorefmainwindow.cpp
Expand Up @@ -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" ) ) );
Expand Down Expand Up @@ -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 );
Expand Down
4 changes: 4 additions & 0 deletions src/ui/qgisapp.ui
Expand Up @@ -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>
Expand Down

0 comments on commit 17aef6e

Please sign in to comment.