1.1 --- a/mapeditor.cpp Tue Jan 05 11:23:12 2010 +0000
1.2 +++ b/mapeditor.cpp Wed Feb 10 13:48:42 2010 +0000
1.3 @@ -1422,7 +1422,6 @@
1.4 "moveRel "+pnow,
1.5 QString("Move %1 to relative position %2").arg(model->getObjectName(seli)).arg(pnow));
1.6
1.7 - cout << "ME::release mouse\n";
1.8 fio->getParObj()->requestReposition();
1.9 model->reposition();
1.10 }
1.11 @@ -1663,8 +1662,7 @@
1.12 if (bi)
1.13 {
1.14 model->select(bi);
1.15 - /* FIXME-2
1.16 - */
1.17 + QString u=uris.at(i).toString();
1.18 s=uris.at(i).toLocalFile();
1.19 if (!s.isEmpty())
1.20 {
1.21 @@ -1674,16 +1672,23 @@
1.22 if (file.endsWith(".vym", false))
1.23 model->setVymLink(file);
1.24 else
1.25 - model->setURL(uris.at(i).toString());
1.26 + model->setURL(u);
1.27 } else
1.28 {
1.29 - model->setURL(uris.at(i).toString());
1.30 + model->setURL(u);
1.31 +
1.32 +/*
1.33 + // Automatically try to fetch data from Bugzilla
1.34 + if (settings.value( "/mainwindow/showTestMenu",false).toBool()
1.35 + && u.contains ("https://bugzilla.novell.com"))
1.36 + model->getBugzillaData();
1.37 +*/
1.38 }
1.39
1.40 if (!heading.isEmpty())
1.41 model->setHeading(heading);
1.42 else
1.43 - model->setHeading(uris.at(i).toString());
1.44 + model->setHeading(u);
1.45
1.46 model->select (bi->parent());
1.47 }