<table><tr><td style="">alexeymin created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />alexeymin requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26069">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>COmpiiling with Qt 5.14 produces the following warnings:</p>
<p>.../libdiscover/resources/StandardBackendUpdater.cpp:70:43: warning:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">‘QList<T> QSet<T>::toList() const [with T = AbstractResource*]’ is deprecated:
Use values() instead. [-Wdeprecated-declarations]</pre></div>
<p>.../libdiscover/resources/StandardBackendUpdater.cpp:220:48: warning:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">‘QSet<T> QList<T>::toSet() const [with T = AbstractResource*]’ is deprecated:
Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]</pre></div></div></div><br /><div><strong>TEST PLAN</strong><div><p>clean build with Qt 5.14 with no warnings</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R134 Discover Software Store</div></div></div><br /><div><strong>BRANCH</strong><div><div>alexeymin/fix-deprecation-warnings</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26069">https://phabricator.kde.org/D26069</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libdiscover/resources/StandardBackendUpdater.cpp</div></div></div><br /><div><strong>To: </strong>alexeymin<br /><strong>Cc: </strong>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<br /></div>