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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Nov 14 18:56:57 EST 2010


Author: timlinux
Date: 2010-11-14 15:56:57 -0800 (Sun, 14 Nov 2010)
New Revision: 14673

Modified:
   trunk/qgis/src/app/qgsattributedialog.cpp
Log:
Remove field type indicators in attribute form

Modified: trunk/qgis/src/app/qgsattributedialog.cpp
===================================================================
--- trunk/qgis/src/app/qgsattributedialog.cpp	2010-11-14 23:56:48 UTC (rev 14672)
+++ trunk/qgis/src/app/qgsattributedialog.cpp	2010-11-14 23:56:57 UTC (rev 14673)
@@ -140,20 +140,20 @@
       mypInnerLayout->addWidget( mypLabel, index, 0 );
       if ( myFieldType == QVariant::Int )
       {
-        mypLabel->setText( myFieldName + tr( " (int)" ) );
+        mypLabel->setText( myFieldName );
       }
       else if ( myFieldType == QVariant::Double )
       {
-        mypLabel->setText( myFieldName + tr( " (dbl)" ) );
+        mypLabel->setText( myFieldName );
       }
       else if ( myFieldType == QVariant::LongLong )
       {
-        mypLabel->setText( myFieldName + tr( " (long)" ) );
+        mypLabel->setText( myFieldName );
       }
       else //string
       {
         //any special behaviour for string goes here
-        mypLabel->setText( myFieldName + tr( " (txt)" ) );
+        mypLabel->setText( myFieldName );
       }
 
       if ( vl->editType( it.key() ) != QgsVectorLayer::Immutable )



More information about the QGIS-commit mailing list