UI Nits: Fix bubble vanish!

The popup bubble appears and vanuishes on the
diary view. This patch fixes that. Still need
to work out why it goes invisbible on Mac OSX.
This commit is contained in:
Mark Liversedge
2012-11-30 18:25:22 +00:00
parent ef5a899f68
commit 432783a1be

View File

@@ -337,7 +337,7 @@ GcCalendar::event(QEvent *e)
// Popup bubble for ride
if (files.count()) {
if (files[0] == "calendar") ; // XXX handle planned rides
else main->setBubble(files.at(0), mapToGlobal(pos+QPoint(-2,-2)));
else main->setBubble(files.at(0), mapToGlobal(pos+QPoint(+2,+2)));
}
}
n++;