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@8796 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 16, 2008
1 parent 21186af commit b1a7dc1
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 b1a7dc1

Please sign in to comment.