Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #853140

qtg_gui_clear_theme() doesn't fallback all the way to FC_QT_DEFAULT_THEME_NAME

Added by Marko Lindqvist over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

qtg_gui_clear_theme() should go to a theme that is guaranteed (or as close to that as possible) to exist. Currently it uses default theme name from settings, but that theme might just have been available in some user data directory in the past. Instead FC_QT_DEFAULT_THEME_NAME, that is at least known to be provided by freeciv installation, should be used.


Related issues

Related to Freeciv - Bug #853130: Qt client configuration can end up with illegal theme "Freeciv", leading to display problemsClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist over 1 year ago

  • Related to Bug #853130: Qt client configuration can end up with illegal theme "Freeciv", leading to display problems added

#2 Updated by Marko Lindqvist over 1 year ago

Also qtg_gui_load_theme() assumes such a behavior from qtg_gui_clear_theme() where it tries to avoid infinite recursion by checking against FC_QT_DEFAULT_THEME_NAME, not default theme name from settings.

#4 Updated by Marko Lindqvist over 1 year ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF