Skip to content

Commit

Permalink
Same order for new layer actions as menu
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Dec 3, 2015
1 parent c66e4ff commit 0766e5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -1880,8 +1880,8 @@ void QgisApp::createToolBars()


bt = new QToolButton(); bt = new QToolButton();
bt->setPopupMode( QToolButton::MenuButtonPopup ); bt->setPopupMode( QToolButton::MenuButtonPopup );
bt->addAction( mActionNewSpatiaLiteLayer );
bt->addAction( mActionNewVectorLayer ); bt->addAction( mActionNewVectorLayer );
bt->addAction( mActionNewSpatiaLiteLayer );
bt->addAction( mActionNewMemoryLayer ); bt->addAction( mActionNewMemoryLayer );


QAction* defNewLayerAction = mActionNewVectorLayer; QAction* defNewLayerAction = mActionNewVectorLayer;
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgswelcomepage.cpp
Expand Up @@ -38,7 +38,7 @@ QgsWelcomePage::QgsWelcomePage( QWidget* parent )


QWidget* recentProjctsContainer = new QWidget; QWidget* recentProjctsContainer = new QWidget;
recentProjctsContainer->setLayout( new QVBoxLayout ); 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" ) ) ); QLabel* recentProjectsTitle = new QLabel( QString( "<h1>%1</h1>" ).arg( tr( "Recent Projects" ) ) );
recentProjctsContainer->layout()->addWidget( recentProjectsTitle ); recentProjctsContainer->layout()->addWidget( recentProjectsTitle );


Expand Down

0 comments on commit 0766e5b

Please sign in to comment.