Skip to content

Commit

Permalink
make use of the pin icon in recent projects menu
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Nov 1, 2017
1 parent 8afbaeb commit 18785da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -3809,6 +3809,10 @@ void QgisApp::updateRecentProjectPaths()
QDir::toNativeSeparators( recentProject.path ) ) );
//action->setEnabled( QFile::exists( ( recentProject.path ) ) );
action->setData( recentProject.path );
if ( recentProject.pin )
{
action->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/pin.svg" ) ) );
}
}

if ( mWelcomePage )
Expand Down

0 comments on commit 18785da

Please sign in to comment.