Skip to content

Commit e49d300

Browse files
author
jef
committedDec 23, 2009

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgsmaptoolidentify.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <QMouseEvent>
3939
#include <QCursor>
4040
#include <QPixmap>
41+
#include <QStatusBar>
4142

4243
QgsMapToolIdentify::QgsMapToolIdentify( QgsMapCanvas* canvas )
4344
: QgsMapTool( canvas )
@@ -156,7 +157,7 @@ void QgsMapToolIdentify::canvasReleaseEvent( QMouseEvent * e )
156157
{
157158
results()->clear();
158159
}
159-
QMessageBox::information( 0, tr( "Identify results" ), tr( "No features at this position found." ) );
160+
QgisApp::instance()->statusBar()->showMessage( tr( "No features at this position found." ) );
160161
}
161162
}
162163

0 commit comments

Comments
 (0)
Please sign in to comment.