[QGIS Commit] r8465 - trunk/qgis/src/app/legend

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon May 19 09:27:01 EDT 2008


Author: timlinux
Date: 2008-05-19 09:27:01 -0400 (Mon, 19 May 2008)
New Revision: 8465

Modified:
   trunk/qgis/src/app/legend/qgslegendlayerfile.cpp
Log:
Used Q_UNUSED rather than UNUSED (and my apologies for the commit spam)

Modified: trunk/qgis/src/app/legend/qgslegendlayerfile.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegendlayerfile.cpp	2008-05-19 13:24:49 UTC (rev 8464)
+++ trunk/qgis/src/app/legend/qgslegendlayerfile.cpp	2008-05-19 13:27:01 UTC (rev 8465)
@@ -267,7 +267,7 @@
       }
       catch(std::bad_alloc& ba)
       {
-        UNUSED(ba);
+        Q_UNUSED(ba);
         QMessageBox::critical(0, tr("bad_alloc exception"), tr("Filling the attribute table has been stopped because there was no more virtual memory left"));
       }
 



More information about the QGIS-commit mailing list