<table><tr><td style="">dfaure created 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/D7533" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This makes it possible to run the unittest without installing the<br />
plugins first.</p>

<p>One thing I don't understand is the need for toString().toInt(),<br />
or in other words, why my json file with a numeric value gets turned<br />
into a string value when using qtplugininfo to inspect the plugin:<br />
User Data: {</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);">"X-KDE-InitialPreference": "5"</pre></div>

<p>}</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>make uninstall; bin/jobtest</p></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7533" rel="noreferrer">https://phabricator.kde.org/D7533</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/urifilters/fixhost/CMakeLists.txt<br />
src/urifilters/fixhost/fixhosturifilter.cpp<br />
src/urifilters/fixhost/fixhosturifilter.desktop<br />
src/urifilters/fixhost/fixhosturifilter.h<br />
src/urifilters/fixhost/fixhosturifilter.json<br />
src/urifilters/ikws/CMakeLists.txt<br />
src/urifilters/ikws/kuriikwsfilter.cpp<br />
src/urifilters/ikws/kuriikwsfilter.desktop<br />
src/urifilters/ikws/kuriikwsfilter.json<br />
src/urifilters/ikws/kurisearchfilter.cpp<br />
src/urifilters/ikws/kurisearchfilter.desktop<br />
src/urifilters/ikws/kurisearchfilter.json<br />
src/urifilters/localdomain/CMakeLists.txt<br />
src/urifilters/localdomain/localdomainurifilter.cpp<br />
src/urifilters/localdomain/localdomainurifilter.desktop<br />
src/urifilters/localdomain/localdomainurifilter.json<br />
src/urifilters/shorturi/CMakeLists.txt<br />
src/urifilters/shorturi/kshorturifilter.cpp<br />
src/urifilters/shorturi/kshorturifilter.desktop<br />
src/urifilters/shorturi/kshorturifilter.json<br />
src/widgets/kurifilter.cpp</div></div></div><br /><div><strong>To: </strong>dfaure, apol, davidedmundson, arichardson<br /><strong>Cc: </strong>Frameworks<br /></div>