mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
removed message box prior to adding new layer, commented out include for matrix1.xpm since it isn't used by the plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@585 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
1b07a31175
commit
25cec50c67
@ -42,7 +42,7 @@ extern "C"
|
||||
#include <libpq-fe.h>
|
||||
}
|
||||
// xpm for creating the toolbar icon
|
||||
#include "matrix1.xpm"
|
||||
//#include "matrix1.xpm"
|
||||
|
||||
/**
|
||||
* Constructor for the plugin. The plugin is passed a pointer to the main app
|
||||
@ -261,7 +261,7 @@ void QgsPgGeoprocessing::buffer()
|
||||
result = PQexec(conn, "commit;vacuum");
|
||||
PQclear(result);
|
||||
PQfinish(conn);
|
||||
QMessageBox::information(0, "Add to Map?", "Do you want to add the layer to the map?");
|
||||
// QMessageBox::information(0, "Add to Map?", "Do you want to add the layer to the map?");
|
||||
// add new layer to the map
|
||||
if (bb->addLayerToMap()) {
|
||||
// create the connection string
|
||||
@ -339,6 +339,5 @@ extern "C" int type()
|
||||
// Delete ourself
|
||||
extern "C" void unload(QgisPlugin * p)
|
||||
{
|
||||
|
||||
delete p;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user