Skip to content

Commit 6330665

Browse files
committed
fix build error on osx
1 parent 519b87b commit 6330665

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/providers/postgres/qgspgsourceselect.h

-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ class QgsPgSourceSelect : public QDialog, private Ui::QgsDbSourceSelectBase
6060
Q_OBJECT
6161

6262
public:
63-
64-
//! static function to delete a connection
65-
static void deleteConnection( QString key );
66-
6763
//! Constructor
6864
QgsPgSourceSelect( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags, bool managerMode = false, bool embeddedMode = false );
6965
//! Destructor

src/providers/postgres/qgspostgresdataitems.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "qgspostgresdataitems.h"
22

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

144144
void QgsPGConnectionItem::deleteConnection()
145145
{
146-
QgsPgSourceSelect::deleteConnection( mName );
146+
QgsPostgresConn::deleteConnection( mName );
147147
// the parent should be updated
148148
mParent->refresh();
149149
}

0 commit comments

Comments
 (0)