alexeymin created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
alexeymin requested review of this revision.
REVISION SUMMARY
COmpiiling with Qt 5.14 produces the following warnings:
.../libdiscover/resources/StandardBackendUpdater.cpp:70:43: warning:
‘QList<T> QSet<T>::toList() const [with T = AbstractResource*]’ is
deprecated:
Use values() instead. [-Wdeprecated-declarations]
.../libdiscover/resources/StandardBackendUpdater.cpp:220:48: warning:
‘QSet<T> QList<T>::toSet() const [with T = AbstractResource*]’ is
deprecated:
Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
TEST PLAN
clean build with Qt 5.14 with no warnings
REPOSITORY
R134 Discover Software Store
BRANCH
alexeymin/fix-deprecation-warnings
REVISION DETAIL
https://phabricator.kde.org/D26069
AFFECTED FILES
libdiscover/resources/StandardBackendUpdater.cpp
To: alexeymin
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas,
GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, ahiemstra, mart