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

[Search Dialogs] Remove singleton for dialog #980

Merged
merged 10 commits into from May 13, 2020

Conversation

bugwelle
Copy link
Collaborator

@bugwelle bugwelle commented May 13, 2020

Singletons need to be initialized at startup. This is not needed for dialogs like "TvShowSearch.ui". It only makes MediaElch start slower and makes it use more RAM.

See #847

@codecov-io
Copy link

Codecov Report

Merging #980 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #980      +/-   ##
=========================================
- Coverage    6.55%   6.55%   -0.01%     
=========================================
  Files         431     431              
  Lines       33764   33793      +29     
=========================================
  Hits         2214    2214              
- Misses      31550   31579      +29     
Impacted Files Coverage Δ
src/concerts/ConcertController.cpp 3.18% <0.00%> (ø)
src/globals/ImageDialog.cpp 0.00% <0.00%> (ø)
src/globals/ImageDialog.h 0.00% <ø> (ø)
src/globals/NameFormatter.cpp 0.00% <0.00%> (ø)
src/globals/NameFormatter.h 0.00% <ø> (ø)
src/movies/MovieController.cpp 2.00% <0.00%> (ø)
src/movies/MovieFilesOrganizer.cpp 0.00% <0.00%> (ø)
src/tv_shows/TvShow.cpp 41.65% <0.00%> (-0.07%) ⬇️
src/ui/concerts/ConcertSearch.cpp 0.00% <0.00%> (ø)
src/ui/concerts/ConcertWidget.cpp 0.00% <0.00%> (ø)
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e1120f0...0990ba0. Read the comment docs.

@bugwelle
Copy link
Collaborator Author

Tested locally. Everything seems to work just fine. :)

@bugwelle bugwelle merged commit 1307ed1 into Komet:master May 13, 2020
@bugwelle bugwelle deleted the singletons-dialog branch May 13, 2020 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants