Skip to content

Commit 81dfe9b

Browse files
author
jef
committed
register QgsDetailedItemData meta type; fixes plugin manager and grass toolbox
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8796 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 55060c1 commit 81dfe9b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/app/qgspluginmanager.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ QgsPluginManager::QgsPluginManager(QgsPythonUtils* pythonUtils, QWidget * parent
9191
// connect the slot up to catch when a bookmark is zoomed to
9292
connect(btnClearAll, SIGNAL(clicked()), this, SLOT(clearAll()));
9393

94+
qRegisterMetaType<QgsDetailedItemData>();
9495
}
9596

9697

src/plugins/grass/qgsgrasstools.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ QgsGrassTools::QgsGrassTools ( QgisInterface *iface,
106106
#ifdef QGISDEBUG
107107
std::cerr << "QgsGrassTools()" << std::endl;
108108
#endif
109+
qRegisterMetaType<QgsDetailedItemData>();
109110

110111
setWindowTitle ( tr("GRASS Tools") );
111112
// setupUi(this);
@@ -120,7 +121,7 @@ QgsGrassTools::QgsGrassTools ( QgisInterface *iface,
120121
// Radims original tree view code.
121122
//
122123
mModulesTree->header()->hide();
123-
connect( mModulesTree, SIGNAL(itemClicked(QTreeWidgetItem *, int)),
124+
connect( mModulesTree, SIGNAL(itemClicked(QTreeWidgetItem *, int)),
124125
this, SLOT(moduleClicked( QTreeWidgetItem *, int)) );
125126

126127

0 commit comments

Comments
 (0)