diff --git a/data/gui/screens/arenas.stkgui b/data/gui/screens/arenas.stkgui index e4ecb37b45..d944626647 100644 --- a/data/gui/screens/arenas.stkgui +++ b/data/gui/screens/arenas.stkgui @@ -1,20 +1,19 @@ - - -
-
-
- +
+ +
+ + +
+ -
- - - -
+
+
+
diff --git a/data/gui/screens/gp_info.stkgui b/data/gui/screens/gp_info.stkgui index 46584d4db6..7941daba73 100644 --- a/data/gui/screens/gp_info.stkgui +++ b/data/gui/screens/gp_info.stkgui @@ -31,14 +31,6 @@
-
-
- -
- -
-
@@ -54,6 +46,14 @@
+ +
+
+ +
+ +
diff --git a/data/gui/screens/tracks.stkgui b/data/gui/screens/tracks.stkgui index dd01abbda8..11046e7b0c 100644 --- a/data/gui/screens/tracks.stkgui +++ b/data/gui/screens/tracks.stkgui @@ -4,16 +4,8 @@
-
-
-
- - - -
-
- +
setValue(host_vote->m_num_laps); m_reversed->setState(host_vote->m_reverse); voteForPlayer(); - - // If editing favorite, also favorite that track - if (getWidget("favorite")->getState() - && !PlayerManager::getCurrentPlayer()->isFavoriteTrack(host_vote->m_track_name)) - { - PlayerManager::getCurrentPlayer()->addFavoriteTrack(host_vote->m_track_name); - buildTrackList(); - } } } } @@ -138,16 +130,7 @@ void TracksScreen::eventCallback(Widget* widget, const std::string& name, if (m_selected_track) { - if (getWidget("favorite")->getState()) - { - if(PlayerManager::getCurrentPlayer()->isFavoriteTrack(m_selected_track->getIdent())) - PlayerManager::getCurrentPlayer()->removeFavoriteTrack(m_selected_track->getIdent()); - else - PlayerManager::getCurrentPlayer()->addFavoriteTrack(m_selected_track->getIdent()); - - buildTrackList(); - } - else if (STKHost::existHost()) + if (STKHost::existHost()) { w2->setBadge(selection, OK_BADGE); voteForPlayer(); @@ -361,10 +344,6 @@ void TracksScreen::beforeAddingWidget() RibbonWidget* tabs = getWidget("trackgroups"); tabs->clearAllChildren(); - CheckBoxWidget* favorite_cb = getWidget("favorite"); - assert( favorite_cb != NULL ); - favorite_cb->setState(false); - RaceManager::MinorRaceModeType minor_mode = RaceManager::get()->getMinorMode(); bool is_soccer = minor_mode == RaceManager::MINOR_MODE_SOCCER; bool is_arena = is_soccer || RaceManager::get()->isBattleMode();