Skip to content

Commit

Permalink
Project Templates instead of simply Templates
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 27, 2019
1 parent 91ea9ed commit 60e5f39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/qgswelcomepage.cpp
Expand Up @@ -69,12 +69,17 @@ QgsWelcomePage::QgsWelcomePage( bool skipVersionCheck, QWidget *parent )
mRecentProjectsListView->setModel( mRecentProjectsModel );
QgsProjectListItemDelegate *recentProjectsDelegate = new QgsProjectListItemDelegate( mRecentProjectsListView );
mRecentProjectsListView->setItemDelegate( recentProjectsDelegate );
connect( mRecentProjectsModel, &QAbstractItemModel::rowsRemoved, this, [this]
{
updateRecentProjectsVisibility();
}
);

centerLayout->addWidget( mRecentProjectsListView, 1, 0 );

layout->addWidget( centerContainer );

QLabel *templatesTitle = new QLabel( QStringLiteral( "<div style='font-size:%1px;font-weight:bold'>%2</div>" ).arg( titleSize ).arg( tr( "Templates" ) ) );
QLabel *templatesTitle = new QLabel( QStringLiteral( "<div style='font-size:%1px;font-weight:bold'>%2</div>" ).arg( titleSize ).arg( tr( "Project Templates" ) ) );
templatesTitle->setContentsMargins( titleSize / 2, titleSize / 6, 0, 0 );
centerLayout->addWidget( templatesTitle, 0, 1 );

Expand Down

0 comments on commit 60e5f39

Please sign in to comment.