Skip to content
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

Closed
Olf0 opened this issue Jun 16, 2024 · 2 comments · Fixed by #107
Closed

[Bug] Remaining hardcoded paths to /home/nemo and .config/cepiperez #101

Olf0 opened this issue Jun 16, 2024 · 2 comments · Fixed by #107
Labels
bug Something isn't working

Comments

@Olf0
Copy link
Contributor

Olf0 commented Jun 16, 2024

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/

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 function startMafw: {Go|Stay} (see #104 for "Go")

@Olf0 Olf0 added the bug Something isn't working label Jun 16, 2024
Olf0 added a commit that referenced this issue Jun 16, 2024
…, because it appears to be dead code; for details see issue #101.
Olf0 added a commit that referenced this issue Jun 16, 2024
…, because it appears to be dead code; for details see issue #101.
@dcaliste
Copy link
Collaborator

The matchs in src/playlist.cpp are within commented parts of the code, so unused. As for the function startMafw() in utils.cpp. The full function is a no-op.

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.

@Olf0
Copy link
Contributor Author

Olf0 commented Jul 4, 2024

For peace of mind, and in case these parts of the code may become uncommented, it could be ok to adapt these parts also.

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".

@Olf0 Olf0 closed this as completed in #107 Jul 5, 2024
Olf0 added a commit that referenced this issue Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants