Deprecate the top-level IconSize() function
ClosedPublic

Authored by vkrause on Dec 16 2019, 7:08 PM.

Details

Summary

This removes the last of the non-namespaced top-level functions here
as well.

Diff Detail

Repository
R302 KIconThemes
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vkrause created this revision.Dec 16 2019, 7:08 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 16 2019, 7:08 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
vkrause requested review of this revision.Dec 16 2019, 7:08 PM
apol accepted this revision.Dec 17 2019, 11:54 AM
This revision is now accepted and ready to land.Dec 17 2019, 11:54 AM
This revision was automatically updated to reflect the committed changes.
dfaure added a subscriber: dfaure.Jan 11 2020, 8:02 PM

Please port kdeclarative.

kdeclarative/private/kiconprovider.cpp:44:56: error: ‘IconSize’ was not declared in this scope

pixmap = QIcon::fromTheme(source.at(0)).pixmap(IconSize(KIconLoader::Desktop));

Detected by http://www.davidfaure.fr/2020/542.diff (to be applied to kdeclarative)

Thanks.

Please port kdeclarative.

kdeclarative/private/kiconprovider.cpp:44:56: error: ‘IconSize’ was not declared in this scope

pixmap = QIcon::fromTheme(source.at(0)).pixmap(IconSize(KIconLoader::Desktop));

Detected by http://www.davidfaure.fr/2020/542.diff (to be applied to kdeclarative)

Thanks.

Done in D26603.