Skip to content
Permalink
Browse files
fix build error on osx
  • Loading branch information
jef-n committed Feb 13, 2012
1 parent 519b87b commit 6330665678026cfd90b0be1cac32981bc64d7e92
Showing with 2 additions and 6 deletions.
  1. +0 −4 src/providers/postgres/qgspgsourceselect.h
  2. +2 −2 src/providers/postgres/qgspostgresdataitems.cpp
@@ -60,10 +60,6 @@ class QgsPgSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
Q_OBJECT

public:

//! static function to delete a connection
static void deleteConnection( QString key );

//! Constructor
QgsPgSourceSelect( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false );
//! Destructor
@@ -1,6 +1,6 @@
#include "qgspostgresdataitems.h"

#include "qgspgsourceselect.h"
#include "qgspostgresconn.h"
#include "qgspgnewconnection.h"
#include "qgscolumntypethread.h"
#include "qgslogger.h"
@@ -143,7 +143,7 @@ void QgsPGConnectionItem::editConnection()

void QgsPGConnectionItem::deleteConnection()
{
QgsPgSourceSelect::deleteConnection( mName );
QgsPostgresConn::deleteConnection( mName );
// the parent should be updated
mParent->refresh();
}

0 comments on commit 6330665

Please sign in to comment.