Same order for new layer actions as menu

This commit is contained in:
Nathan Woodrow 2015-12-03 16:27:29 +10:00
parent c66e4ff625
commit 0766e5b766
2 changed files with 2 additions and 2 deletions

View File

@ -1880,8 +1880,8 @@ void QgisApp::createToolBars()
bt = new QToolButton();
bt->setPopupMode( QToolButton::MenuButtonPopup );
bt->addAction( mActionNewSpatiaLiteLayer );
bt->addAction( mActionNewVectorLayer );
bt->addAction( mActionNewSpatiaLiteLayer );
bt->addAction( mActionNewMemoryLayer );
QAction* defNewLayerAction = mActionNewVectorLayer;

View File

@ -38,7 +38,7 @@ QgsWelcomePage::QgsWelcomePage( QWidget* parent )
QWidget* recentProjctsContainer = new QWidget;
recentProjctsContainer->setLayout( new QVBoxLayout );
recentProjctsContainer->layout()->setContentsMargins( 3, 3, 3, 3 );
recentProjctsContainer->layout()->setContentsMargins( 3, 3, 3, 0 );
QLabel* recentProjectsTitle = new QLabel( QString( "<h1>%1</h1>" ).arg( tr( "Recent Projects" ) ) );
recentProjctsContainer->layout()->addWidget( recentProjectsTitle );