Skip to content

Commit

Permalink
fix build error on osx
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 13, 2012
1 parent 519b87b commit 6330665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/providers/postgres/qgspgsourceselect.h
Expand Up @@ -60,10 +60,6 @@ class QgsPgSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
Q_OBJECT Q_OBJECT


public: public:

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

//! Constructor //! Constructor
QgsPgSourceSelect( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false ); QgsPgSourceSelect( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false );
//! Destructor //! Destructor
Expand Down
4 changes: 2 additions & 2 deletions src/providers/postgres/qgspostgresdataitems.cpp
@@ -1,6 +1,6 @@
#include "qgspostgresdataitems.h" #include "qgspostgresdataitems.h"


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


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

0 comments on commit 6330665

Please sign in to comment.