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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Mar 3 15:37:51 EST 2011


Author: wonder
Date: 2011-03-03 12:37:51 -0800 (Thu, 03 Mar 2011)
New Revision: 15325

Modified:
   trunk/qgis/src/app/qgsoptions.cpp
   trunk/qgis/src/app/qgsoptions.h
Log:
Also enable antialiasing with QPixmap in options dialog


Modified: trunk/qgis/src/app/qgsoptions.cpp
===================================================================
--- trunk/qgis/src/app/qgsoptions.cpp	2011-03-03 20:08:00 UTC (rev 15324)
+++ trunk/qgis/src/app/qgsoptions.cpp	2011-03-03 20:37:51 UTC (rev 15325)
@@ -760,30 +760,6 @@
 
 }
 
-void QgsOptions::on_chkAntiAliasing_stateChanged()
-{
-  // We can't have the anti-aliasing turned on when QPixmap is being
-  // used (we we can. but it then doesn't do anti-aliasing, and this
-  // will confuse people).
-  if ( chkAntiAliasing->isChecked() )
-  {
-    chkUseQPixmap->setChecked( false );
-  }
-
-}
-
-void QgsOptions::on_chkUseQPixmap_stateChanged()
-{
-  // We can't have the anti-aliasing turned on when QPixmap is being
-  // used (we we can. but it then doesn't do anti-aliasing, and this
-  // will confuse people).
-  if ( chkUseQPixmap->isChecked() )
-  {
-    chkAntiAliasing->setChecked( false );
-  }
-
-}
-
 // Return state of the visibility flag for newly added layers. If
 
 bool QgsOptions::newVisible()

Modified: trunk/qgis/src/app/qgsoptions.h
===================================================================
--- trunk/qgis/src/app/qgsoptions.h	2011-03-03 20:08:00 UTC (rev 15324)
+++ trunk/qgis/src/app/qgsoptions.h	2011-03-03 20:37:51 UTC (rev 15325)
@@ -50,8 +50,6 @@
   public slots:
     //! Slot called when user chooses to change the project wide projection.
     void on_pbnSelectProjection_clicked();
-    void on_chkAntiAliasing_stateChanged();
-    void on_chkUseQPixmap_stateChanged();
     void saveOptions();
     //! Slot to change the theme this is handled when the user
     // activates or highlights a theme name in the drop-down list



More information about the QGIS-commit mailing list