Removed GL_LINE_SMOOTH call because it looks strange on non-retina displays. In getStyleForTrackType Convert QStrings to const char * via std::string instead of qPrintable (the latter doesn’t seem to work properly).