Skip to content
Permalink
Browse files
truncate only last extension in welcome screen
  • Loading branch information
jef-n committed Jan 21, 2017
1 parent 0544088 commit fe450c595daf13d00affde18e1918eae781b37bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgswelcomepageitemsmodel.cpp
@@ -143,7 +143,7 @@ QVariant QgsWelcomePageItemsModel::data( const QModelIndex& index, int role ) co
{
case Qt::DisplayRole:
case TitleRole:
return mRecentProjects.at( index.row() ).title != mRecentProjects.at( index.row() ).path ? mRecentProjects.at( index.row() ).title : QFileInfo( mRecentProjects.at( index.row() ).path ).baseName();
return mRecentProjects.at( index.row() ).title != mRecentProjects.at( index.row() ).path ? mRecentProjects.at( index.row() ).title : QFileInfo( mRecentProjects.at( index.row() ).path ).completeBaseName();
case PathRole:
return mRecentProjects.at( index.row() ).path;
case CrsRole:

0 comments on commit fe450c5

Please sign in to comment.