Skip to content
Permalink
Browse files

cleanup after QgsNewConnection

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12399 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 10, 2009
1 parent bdaf31e commit 4243815aee4bcab763fdaaea525660c1505bd750
Showing with 6 additions and 2 deletions.
  1. +2 −2 src/app/qgspgsourceselect.cpp
  2. +4 −0 src/plugins/spit/qgsspit.cpp
@@ -92,8 +92,8 @@ QgsPgSourceSelect::QgsPgSourceSelect( QWidget *parent, Qt::WFlags fl )
void QgsPgSourceSelect::on_btnNew_clicked()
{
QgsNewConnection *nc = new QgsNewConnection( this );

nc->exec();
delete nc;

populateConnectionList();
}
@@ -132,8 +132,8 @@ void QgsPgSourceSelect::addClicked()
void QgsPgSourceSelect::on_btnEdit_clicked()
{
QgsNewConnection *nc = new QgsNewConnection( this, cmbConnections->currentText() );

nc->exec();
delete nc;

populateConnectionList();
}
@@ -122,13 +122,17 @@ void QgsSpit::newConnection()
QgsNewConnection *nc = new QgsNewConnection( this );
nc->exec();
delete nc;

populateConnectionList();
}

void QgsSpit::editConnection()
{
QgsNewConnection *nc = new QgsNewConnection( this, cmbConnections->currentText() );
nc->exec();
delete nc;

populateConnectionList();
}

void QgsSpit::removeConnection()

0 comments on commit 4243815

Please sign in to comment.
You can’t perform that action at this time.