Skip to content

Commit

Permalink
register QgsDetailedItemData meta type; fixes plugin manager and gras…
Browse files Browse the repository at this point in the history
…s toolbox

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8796 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 16, 2008
1 parent 55060c1 commit 81dfe9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/qgspluginmanager.cpp
Expand Up @@ -91,6 +91,7 @@ QgsPluginManager::QgsPluginManager(QgsPythonUtils* pythonUtils, QWidget * parent
// connect the slot up to catch when a bookmark is zoomed to
connect(btnClearAll, SIGNAL(clicked()), this, SLOT(clearAll()));

qRegisterMetaType<QgsDetailedItemData>();
}


Expand Down
3 changes: 2 additions & 1 deletion src/plugins/grass/qgsgrasstools.cpp
Expand Up @@ -106,6 +106,7 @@ QgsGrassTools::QgsGrassTools ( QgisInterface *iface,
#ifdef QGISDEBUG
std::cerr << "QgsGrassTools()" << std::endl;
#endif
qRegisterMetaType<QgsDetailedItemData>();

setWindowTitle ( tr("GRASS Tools") );
// setupUi(this);
Expand All @@ -120,7 +121,7 @@ QgsGrassTools::QgsGrassTools ( QgisInterface *iface,
// Radims original tree view code.
//
mModulesTree->header()->hide();
connect( mModulesTree, SIGNAL(itemClicked(QTreeWidgetItem *, int)),
connect( mModulesTree, SIGNAL(itemClicked(QTreeWidgetItem *, int)),
this, SLOT(moduleClicked( QTreeWidgetItem *, int)) );


Expand Down

0 comments on commit 81dfe9b

Please sign in to comment.