Skip to content
Permalink
Browse files
Fix for bug 1177637 that prevented complete deletion of a PostgreSQL
connection.


git-svn-id: http://svn.osgeo.org/qgis/trunk@3176 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Apr 17, 2005
1 parent 1634528 commit 4325352001993a152e7041c250fce94d04c056cc
Showing with 13 additions and 1 deletion.
  1. +3 −0 ChangeLog
  2. +1 −1 configure.in
  3. +9 −0 src/qgsdbsourceselect.cpp
@@ -2,6 +2,9 @@
------------------------------------------------------------------------------
Version 0.6 'Simon' .... development version
QGIS Change Log
2005-04-16 [ges] 0.6.0devel16
** Fixed bug 1177637 that prevented a PostgreSQL connection from being
completely deleted
2005-04-14 [timlinux] 0.6devel15
** Wired up move first and move last buttons on custom projection dialog
2005-04-14 [timlinux] 0.6devel14
@@ -26,7 +26,7 @@ dnl ---------------------------------------------------------------------------
MAJOR_VERSION=0
MINOR_VERSION=6
MICRO_VERSION=0
EXTRA_VERSION=15
EXTRA_VERSION=16
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
else
@@ -96,11 +96,20 @@ void QgsDbSourceSelect::deleteConnection()
settings.removeEntry(key + "/database");
settings.removeEntry(key + "/username");
settings.removeEntry(key + "/password");
settings.removeEntry(key + "/port");
settings.removeEntry(key + "/save");
settings.removeEntry(key);
//if(!success){
// QMessageBox::information(this,"Unable to Remove","Unable to remove the connection " + cmbConnections->currentText());
//}
cmbConnections->removeItem(cmbConnections->currentItem()); // populateConnectionList();
}
// Select the first connection in the list, checking to make sure there is
// at least one item to select
if(cmbConnections->count() > 0)
{
cmbConnections->setCurrentItem(0);
}
}

void QgsDbSourceSelect::addTables()

0 comments on commit 4325352

Please sign in to comment.