Cleanup KSudoku::updateShapesList() to remove manual path fiddling.

Authored by ouwerkerk on Apr 30 2017, 2:46 PM.

Description

Cleanup KSudoku::updateShapesList() to remove manual path fiddling.

Summary: This change resolves Phabricator/Maniphest task T5977.

Test Plan:
Compiled & tested I could still generate custom game variant puzzles: Mathdoku 4x4, Killer 9x9.

Also, to confirm the duplicate filtering is redundant I ran ksudoku with a deliberately messed up XDG_DATA_DIRS environment variable:

XDG_DATA_DIRS="$XDG_DATA_DIRS:$PWD/kde-5/share;$PWD/kde-5/share;$PWD/kde-5/share" ./kde-5/bin/ksudoku

(Which still lists each game variant type only once, meaning the filtering was in fact redundant.)

Reviewers: KDE Games, ltoscano

Reviewed By: ltoscano

Subscribers: ltoscano, KDE Games

Maniphest Tasks: T5977

Differential Revision: https://phabricator.kde.org/D5669

Details

Committed
ouwerkerkApr 30 2017, 3:51 PM
Reviewer
ltoscano
Differential Revision
D5669: Cleanup KSudoku::updateShapesList() to remove manual path fiddling.
Parents
R417:b7670c45d305: Fix build with GCC6.
Branches
Unknown
Tags
Unknown