[QGIS Commit] r12377 - trunk/qgis/src/plugins/georeferencer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Dec 8 18:33:10 EST 2009


Author: jef
Date: 2009-12-08 18:33:09 -0500 (Tue, 08 Dec 2009)
New Revision: 12377

Modified:
   trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp
   trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h
Log:
fix #2211

Modified: trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp	2009-12-08 23:10:34 UTC (rev 12376)
+++ trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.cpp	2009-12-08 23:33:09 UTC (rev 12377)
@@ -56,7 +56,7 @@
 }
 
 
-void QgsGeorefWarpOptionsDialog::on_pbnOK_clicked()
+void QgsGeorefWarpOptionsDialog::on_buttonBox_accepted()
 {
   QgsImageWarper::ResamplingMethod methods[] =
   {
@@ -68,3 +68,8 @@
   useZeroAsTransparency = cbxZeroAsTrans->isChecked();
   close();
 }
+
+void QgsGeorefWarpOptionsDialog::on_buttonBox_rejected()
+{
+  close();
+}

Modified: trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h	2009-12-08 23:10:34 UTC (rev 12376)
+++ trunk/qgis/src/plugins/georeferencer/qgsgeorefwarpoptionsdialog.h	2009-12-08 23:33:09 UTC (rev 12377)
@@ -30,7 +30,8 @@
 
   public slots:
 
-    void on_pbnOK_clicked();
+    void on_buttonBox_accepted();
+    void on_buttonBox_rejected();
 
   private:
 



More information about the QGIS-commit mailing list