Bug 378219 - Optimize includes and polish [patch]
Summary: Optimize includes and polish [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 5.6.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 18:35 UTC by Simon
Modified: 2017-07-16 04:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.0


Attachments
Optimized includes and polish. (14.43 KB, patch)
2017-03-28 18:35 UTC, Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2017-03-28 18:35:57 UTC
Created attachment 104783 [details]
Optimized includes and polish.

While working on a patch for #377719 I corrected unnecessary includes and sorted them (unsorted leads to duplicates). I also did some small code polishing. I just touched the parts of the code I was working on and related stuff - so this is by no means exhaustive, there is probably more of the same.
I would like somebody to check that it compiles as well before committing - thanks in advance.
Comment 1 Mario Frank 2017-03-29 11:08:34 UTC
Did not have any problems compiling with your patch.
Comment 2 caulier.gilles 2017-03-29 12:10:10 UTC
Me too...

Gilles
Comment 3 Simon 2017-03-29 12:15:04 UTC
Git commit e994827830382723272f0d721e7d10dcc3be2338 by Simon Frei.
Committed on 29/03/2017 at 12:13.
Pushed by sfrei into branch 'master'.

Optimize includes and polish
FIXED-IN: 5.6.0

M  +2    -1    NEWS
M  +2    -2    app/items/imageviewutilities.cpp
M  +19   -17   app/views/digikamview.cpp
M  +2    -3    app/views/mediaplayerview.cpp
M  +2    -2    app/views/stackedview.h
M  +2    -3    app/views/trashview.cpp
M  +3    -5    app/views/trashview.h
M  +23   -23   libs/database/utils/dbsettingswidget.cpp
M  +6    -9    libs/database/utils/dbsettingswidget.h
M  +1    -3    libs/database/utils/dio.cpp
M  +2    -1    libs/database/utils/dio.h
M  +1    -1    libs/database/utils/dio_p.h
M  +0    -1    libs/dtrash/dtrashitemmodel.cpp
M  +3    -3    libs/iojobs/iojob.cpp
M  +1    -2    libs/iojobs/iojob.h
M  +2    -2    libs/iojobs/iojobsmanager.h
M  +3    -21   libs/iojobs/iojobsthread.cpp
M  +3    -10   libs/iojobs/iojobsthread.h
M  +1    -0    utilities/advancedrename/advancedrenameprocessdialog.cpp
M  +2    -8    utilities/advancedrename/advancedrenameprocessdialog.h
M  +3    -3    utilities/advancedrename/advancedrenamewidget.cpp

https://commits.kde.org/digikam/e994827830382723272f0d721e7d10dcc3be2338