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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun May 18 12:04:50 EDT 2008


Author: jef
Date: 2008-05-18 12:04:49 -0400 (Sun, 18 May 2008)
New Revision: 8456

Modified:
   trunk/qgis/src/app/qgspluginmanager.cpp
   trunk/qgis/src/app/qgspluginmanager.h
Log:
fix #928

Modified: trunk/qgis/src/app/qgspluginmanager.cpp
===================================================================
--- trunk/qgis/src/app/qgspluginmanager.cpp	2008-05-17 23:02:13 UTC (rev 8455)
+++ trunk/qgis/src/app/qgspluginmanager.cpp	2008-05-18 16:04:49 UTC (rev 8456)
@@ -407,16 +407,3 @@
   reject();
 }
 
-void QgsPluginManager::on_lstPlugins_clicked(const QModelIndex &theIndex )
-{
-  if (theIndex.column() == 0)
-  {
-    int row = theIndex.row();
-    if ( mModelPlugins->item(row,0)->checkState() == Qt::Checked )
-    {
-      mModelPlugins->item(row,0)->setCheckState(Qt::Unchecked);
-    } else {
-      mModelPlugins->item(row,0)->setCheckState(Qt::Checked);
-    }
-  }
-}

Modified: trunk/qgis/src/app/qgspluginmanager.h
===================================================================
--- trunk/qgis/src/app/qgspluginmanager.h	2008-05-17 23:02:13 UTC (rev 8455)
+++ trunk/qgis/src/app/qgspluginmanager.h	2008-05-18 16:04:49 UTC (rev 8456)
@@ -56,8 +56,6 @@
     //! Sort model by column ascending
     void sortModel(int );
   public slots:
-    //! Enable disable checkbox
-    void on_lstPlugins_clicked(const QModelIndex & );
     //! Load selected plugins and close the dialog
     void on_btnOk_clicked();
     //! Select all plugins by setting their checkbox on



More information about the QGIS-commit mailing list