Skip to content
Permalink
Browse files
Replace New with 'New Connection' in browser context menu
New... implied creating a new spatiaLite database, which is not the
case.
  • Loading branch information
NathanW2 committed Feb 29, 2012
1 parent b75b8b7 commit 991f3d332a2104c3a7ba09dacd61c1c9633deb7e
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/postgres/qgspostgresdataitems.cpp
  2. +1 −1 src/providers/spatialite/qgsspatialitedataitems.cpp
@@ -269,7 +269,7 @@ QList<QAction*> QgsPGRootItem::actions()
{
QList<QAction*> lst;

QAction* actionNew = new QAction( tr( "New..." ), this );
QAction* actionNew = new QAction( tr( "New Connection..." ), this );
connect( actionNew, SIGNAL( triggered() ), this, SLOT( newConnection() ) );
lst.append( actionNew );

@@ -253,7 +253,7 @@ QList<QAction*> QgsSLRootItem::actions()
{
QList<QAction*> lst;

QAction* actionNew = new QAction( tr( "New..." ), this );
QAction* actionNew = new QAction( tr( "New Connection..." ), this );
connect( actionNew, SIGNAL( triggered() ), this, SLOT( newConnection() ) );
lst.append( actionNew );

0 comments on commit 991f3d3

Please sign in to comment.