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
Olf0 added a commit that referenced this issue Nov 29, 2024
* Translate translations/flowplayer.ts in sv (#90)

100% translated source file: 'translations/flowplayer.ts'
on 'sv'.

Co-authored-by: @eson57 via transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* Translate translations/flowplayer.ts in de (#91)

100% translated source file: 'translations/flowplayer.ts'
on 'de'.

Co-authored-by: @Olf0 via transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* Translate translations/flowplayer.ts in et (#92)

100% translated source file: 'translations/flowplayer.ts'
on 'et'.

Co-authored-by: @Olf0 via transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* [Tx: translations/flowplayer.ts] Add Finnish translation (fi) #94

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

Co-authored-by: @tuplasuhveli (Elmeri Länsiharju) via transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* [Tx] Updates for file translations/flowplayer.ts in fi (#95)

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

* Translate translations/flowplayer.ts in fi

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* Translate translations/flowplayer.ts in fi (#96)

100% translated source file: 'translations/flowplayer.ts'
on 'fi'.

Authored-by: @tuplasuhveli via transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* [extras/Lockscreen.qml] Add reference to issue #102 (#103)

Denote that this file currently comprises dead, problematic code; for details see issue #102.

* [src/utils.cpp] Remove function `startMafw` …

…, because it appears to be dead code; for details see issue #101.

* [src/utils.h] Remove function declaration `startMafw` …

…, because it appears to be dead code; for details see issue #101.

* [src/datareader.cpp] Omit superfluous `QString oFile` (#100)

For details, see #75 (comment)

* Use the app config dir to save the QSettings file (#105)

Sailjail is not mounting the generic config dir,
so the QSettings file should be under org/app/
dir and not under the org/ dir.

* [flowplayer/extras/Lockscreen.qml] Denote status in comments (#108)

See issue #102 for details.

* [flowplayer/src/playlist.cpp] Convert unused `/home/nemo` references, too (#107)

As discussed in issue #101.

* [flowplayer.changes] Add changelog entries for v0.3.6

* [flowplayer.spec] Pre-release version increase

* [README.md] Add Elmeri Länsiharju (tuplasuhveli) as contributor

* [flowplayer.changes] Beautify two atributions

* [flowplayer.changes] Another round of name beautifying

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Damien Caliste <[email protected]>
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