Revision 15ba95a...

Go back to digest for 17th July 2011

Bug Fixes in Utilities

Friedrich Karl Tilman Pülz committed changes in [publictransport] /:

Consistent stop icons for all route stops

- GlobalApplet::stopIcon returns the icon for given route stop flags.
- Always ask the model if a stop is currently highlighted or the home stop,
when checking the flags of a route stop item.
- Add route stop flags to journey stops and also use consistent stop icons there.
- The context menus of route stops now also use the icon shown for the stop
as icon for the menu title.
- Move highlighted stop information to the Info structure used by the departure
AND journey models. Also move the method to get flags for a route item in the
model to PublicTransportModel to be usable by both derivates DepartureModel
and JourneyModel.

File Changes

Modified 6 files
  •   applet/departuremodel.cpp
  •   applet/departuremodel.h
  •   applet/global.cpp
  •   applet/global.h
  •   applet/routegraphicsitem.cpp
  •   applet/routegraphicsitem.h
6 files changed in total