@@ -31,18 +31,20 @@ QgsWelcomePage::QgsWelcomePage( bool skipVersionCheck, QWidget* parent )
31
31
32
32
QVBoxLayout* mainLayout = new QVBoxLayout;
33
33
mainLayout->setMargin ( 0 );
34
+ mainLayout->setContentsMargins ( 0 , 0 , 0 , 0 );
34
35
setLayout ( mainLayout );
35
36
36
37
QHBoxLayout* layout = new QHBoxLayout ();
37
- layout->setMargin ( 9 );
38
+ layout->setMargin ( 0 );
38
39
39
40
mainLayout->addLayout ( layout );
40
41
41
- QWidget* recentProjctsContainer = new QWidget;
42
- recentProjctsContainer->setLayout ( new QVBoxLayout );
43
- recentProjctsContainer->layout ()->setContentsMargins ( 3 , 3 , 3 , 0 );
42
+ QWidget* recentProjectsContainer = new QWidget;
43
+ recentProjectsContainer->setLayout ( new QVBoxLayout );
44
+ recentProjectsContainer->layout ()->setContentsMargins ( 0 , 0 , 0 , 0 );
45
+ recentProjectsContainer->layout ()->setMargin ( 0 );
44
46
QLabel* recentProjectsTitle = new QLabel ( QStringLiteral ( " <h1>%1</h1>" ).arg ( tr ( " Recent Projects" ) ) );
45
- recentProjctsContainer ->layout ()->addWidget ( recentProjectsTitle );
47
+ recentProjectsContainer ->layout ()->addWidget ( recentProjectsTitle );
46
48
47
49
QListView* recentProjectsListView = new QListView ();
48
50
recentProjectsListView->setResizeMode ( QListView::Adjust );
@@ -51,9 +53,9 @@ QgsWelcomePage::QgsWelcomePage( bool skipVersionCheck, QWidget* parent )
51
53
recentProjectsListView->setModel ( mModel );
52
54
recentProjectsListView->setItemDelegate ( new QgsWelcomePageItemDelegate ( recentProjectsListView ) );
53
55
54
- recentProjctsContainer ->layout ()->addWidget ( recentProjectsListView );
56
+ recentProjectsContainer ->layout ()->addWidget ( recentProjectsListView );
55
57
56
- layout->addWidget ( recentProjctsContainer );
58
+ layout->addWidget ( recentProjectsContainer );
57
59
58
60
mVersionInformation = new QLabel;
59
61
mainLayout->addWidget ( mVersionInformation );
0 commit comments