[QGIS Commit] r12592 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 23 08:00:26 EST 2009


Author: jef
Date: 2009-12-23 08:00:26 -0500 (Wed, 23 Dec 2009)
New Revision: 12592

Modified:
   trunk/qgis/src/app/qgsmaptoolidentify.cpp
Log:
fix #2317

Modified: trunk/qgis/src/app/qgsmaptoolidentify.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolidentify.cpp	2009-12-23 12:47:16 UTC (rev 12591)
+++ trunk/qgis/src/app/qgsmaptoolidentify.cpp	2009-12-23 13:00:26 UTC (rev 12592)
@@ -38,6 +38,7 @@
 #include <QMouseEvent>
 #include <QCursor>
 #include <QPixmap>
+#include <QStatusBar>
 
 QgsMapToolIdentify::QgsMapToolIdentify( QgsMapCanvas* canvas )
     : QgsMapTool( canvas )
@@ -156,7 +157,7 @@
     {
       results()->clear();
     }
-    QMessageBox::information( 0, tr( "Identify results" ), tr( "No features at this position found." ) );
+    QgisApp::instance()->statusBar()->showMessage( tr( "No features at this position found." ) );
   }
 }
 



More information about the QGIS-commit mailing list