D29389: Let UI tests customize the UI settings file.

Eric Dejouhanet <[email protected]> Sun, 3 May 2020 18:50:27 +0000
Newsgroups gmane.comp.kde.education
Message-ID <[email protected]>
TallFurryMan created this revision.
TallFurryMan added reviewers: KStars, mutlaqja, murveit.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
TallFurryMan requested review of this revision.

REVISION SUMMARY
  This differential fixes the regression on the user-customized settings file "kstarsui.rc", which was wrongly replaced with the default UI settings file from the resources.
  This was done to display UI icons and menus properly in "kstars_ui_tests", but the regression is that any user-customized settings, stored in a local "kstarsui.rc" are not considered anymore.

TEST PLAN
  Execute "kstars" and check user settings such as keyboard shortcuts are properly enabled.
  Execute "kstars_ui_tests" and check icons and menus are properly displayed in the user interface.

REPOSITORY
  R321 KStars

BRANCH
  bugfix__kstars_rcfile (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D29389

AFFECTED FILES
  Tests/kstars_ui/kstars_ui_tests.cpp
  kstars/kstars.h
  kstars/kstarsinit.cpp

To: TallFurryMan, #kstars, mutlaqja, murveit
Cc: kde-edu, narvaez, apol