-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Remaining hardcoded paths to /home/nemo
and .config/cepiperez
#101
Comments
…, because it appears to be dead code; for details see issue #101.
…, because it appears to be dead code; for details see issue #101.
The matchs in The last match is in the Lockscreen.qml file, which is completely unused at the moment. So all these matches have no consequenses. For peace of mind, and in case these parts of the code may become uncommented, it could be ok to adapt these parts also. Or remove them since they are not used. |
Did that by PR #107, because it it less about "peace of mind" than "forgetting and then stumbling over it again and again" and "expecting others who have not seen this discussion to wonder, too". |
Oh, how I hate to revive this topic again, because I assumed it to be dealt with in #20, #47 and #50 (rsp. in the corresponding PRs #21, #48 and #51). But issue #99 made me consider this again, so I used GH code search in hope to exclude this as a reason; though "hope dies last", it ultimately often does:
Another code search for
/home/nemo/
src/playlist.cpp
: line 264 and line 355These
.config/cepiperez/
paths appear to be wrong, anyway (i.e. "doubly wrong"), because the configuration data was moved a while ago (PR Change the organisation name #51), correct?extras/Lockscreen.qml
@dcaliste already dismissed this one as historic, unused code (a few more details in the last paragraph here):
extras/Lockscreen.qml
should be transformed into a Patch for Patchmanager, if someone has sufficient interest to revive this functionality. So I created the issue [Suggestion] Trying to revive the functionality ofextras/Lockscreen.qml
#102 to document this at a single, central location.src/utils.cpp
This "hard-hardcoded path" is just "WTF?" IMO. Luckily the function
startMafw
seems to be unused. Still I have no idea what it was meant to be good for (hence no other idea, but to eliminate it). Maybe someone with more programming experience can provide more insight (or a well founded opinion that it is indeed superfluous, even as a coding example). As it appears more likely that the ultimate decision will be to eliminate it, I prepared PR Remove functionstartMafw
… #104.The first two hits in also made me search for
.config/cepiperez/
: Luckily that does not reveal additional hits.TL;DR
Ultimately only the two hits in
src/playlist.cpp
(line 264 and line 355) should be rectified and a decision be met WRT the functionstartMafw
: {Go|Stay} (see #104 for "Go")The text was updated successfully, but these errors were encountered: