Skip to content

Commit dd03d02

Browse files
author
timlinux
committedMay 21, 2008
Minor change to commenting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8482 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3f3173f commit dd03d02

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed
 

‎src/app/qgspluginmanager.cpp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -299,25 +299,27 @@ sharedLibExtension = "*.so*";
299299
QStandardItem * mypDetailItem = new QStandardItem(
300300
pName() + " (" + pVersion() + ")");
301301
//
302-
// Uncommnet this block to render item using simple painter technique
302+
// Uncomment this block to render item using simple painter technique
303303
//
304304
mypDetailItem->setData(pDesc(),Qt::UserRole);
305305
//
306306
//Uncomment this block to used widget based detail items (experimental)
307307
//
308-
//QgsDetailedItemData myData;
309-
//myData.setTitle(pName());
310-
//myData.setDetail(pDesc());
311-
//QVariant myVariant = qVariantFromValue(myData);
308+
/*
309+
QgsDetailedItemData myData;
310+
myData.setTitle(pName());
311+
myData.setDetail(pDesc());
312+
QVariant myVariant = qVariantFromValue(myData);
312313
//round trip test - delete this...no need to uncomment
313314
//QgsDetailedItemData myData2 = qVariantValue<QgsDetailedItemData>(myVariant);
314315
//Q_ASSERT(myData.title() == myData2.title());
315316
//round trip test ends
316-
//mypDetailItem->setData(myVariant,Qt::UserRole);
317+
mypDetailItem->setData(myVariant,Qt::UserRole);
318+
*/
317319
QString myLibraryName = pluginDir[i];
318320
QStandardItem * mypLibraryNameItem = new QStandardItem(myLibraryName);
319321
mypLibraryNameItem->setData(pName(),Qt::UserRole);
320-
// myName have a checkbox
322+
// Let the first col have a checkbox
321323
mypDetailItem->setCheckable(true);
322324
mypDetailItem->setEditable(false);
323325

0 commit comments

Comments
 (0)
Please sign in to comment.