mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
error checking added
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@128 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
c9f97518d8
commit
a3877c4748
@ -21,6 +21,7 @@
|
||||
#include <qlistbox.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qmessagebox.h>
|
||||
#include "xpm/point_layer.xpm"
|
||||
#include "xpm/line_layer.xpm"
|
||||
#include "xpm/polygon_layer.xpm"
|
||||
@ -123,7 +124,7 @@ void QgsDbSourceSelect::dbConnect()
|
||||
qDebug(pd->ErrorMessage());
|
||||
}
|
||||
} else {
|
||||
qDebug("Connection failed");
|
||||
QMessageBox::warning(this,"Connection failed", "Connection to " + database + " on " + host);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user