Skip to content
Permalink
Browse files

Also enable antialiasing with QPixmap in options dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15325 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Mar 3, 2011
1 parent f050a0d commit a8f8dcd75b5136a065324b664ceae35badf37fff
Showing with 0 additions and 26 deletions.
  1. +0 −24 src/app/qgsoptions.cpp
  2. +0 −2 src/app/qgsoptions.h
@@ -760,30 +760,6 @@ void QgsOptions::on_pbnSelectProjection_clicked()

}

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()
@@ -50,8 +50,6 @@ class QgsOptions : public QDialog, private Ui::QgsOptionsBase
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

0 comments on commit a8f8dcd

Please sign in to comment.
You can’t perform that action at this time.