diff -r 735c7ea1d2a9 -r 4a84d7e444d8 mapeditor.cpp --- a/mapeditor.cpp Tue Jan 05 11:23:12 2010 +0000 +++ b/mapeditor.cpp Thu Jan 21 11:56:57 2010 +0000 @@ -1422,7 +1422,6 @@ "moveRel "+pnow, QString("Move %1 to relative position %2").arg(model->getObjectName(seli)).arg(pnow)); - cout << "ME::release mouse\n"; fio->getParObj()->requestReposition(); model->reposition(); } @@ -1663,8 +1662,7 @@ if (bi) { model->select(bi); - /* FIXME-2 - */ + QString u=uris.at(i).toString(); s=uris.at(i).toLocalFile(); if (!s.isEmpty()) { @@ -1674,16 +1672,23 @@ if (file.endsWith(".vym", false)) model->setVymLink(file); else - model->setURL(uris.at(i).toString()); + model->setURL(u); } else { - model->setURL(uris.at(i).toString()); + model->setURL(u); + +/* + // Automatically try to fetch data from Bugzilla + if (settings.value( "/mainwindow/showTestMenu",false).toBool() + && u.contains ("https://bugzilla.novell.com")) + model->getBugzillaData(); +*/ } if (!heading.isEmpty()) model->setHeading(heading); else - model->setHeading(uris.at(i).toString()); + model->setHeading(u); model->select (bi->parent()); }