<table><tr><td style="">himanshuvishwakarma updated this revision to Diff 30019.<br />himanshuvishwakarma added a comment.
</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/D11034">View Revision</a></tr></table><br /><div><div><p>Is this possible solution can be acceptable ??</p>
<p>I tried your solution i.e. add a protected constructor taking the path as parameter and use it in to instantiate the inherited class<br />
But adding a constructor give the ambiguity error in this line <a href="https://github.com/gcompris/GCompris-qt/blob/master/src/core/ApplicationSettings.h#L263" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/gcompris/GCompris-qt/blob/master/src/core/ApplicationSettings.h#L263</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R2 GCompris</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D11034?vs=29685&id=30019">https://phabricator.kde.org/D11034?vs=29685&id=30019</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11034">https://phabricator.kde.org/D11034</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/core/ApplicationSettings.cpp<br />
src/core/ApplicationSettings.h<br />
tests/core/ApplicationSettingsTest.cpp<br />
tests/core/CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>himanshuvishwakarma, jjazeix, dmadaan, rudranilbasu, timotheegiet, GCompris<br /><strong>Cc: </strong>KDE Edu, GCompris, harrymecwan, ganeshredcobra, nityanandkumar, echarruau, rahulyadav, narvaez, scagarwal, apol, timotheegiet, hkaelberer, jjazeix, bcoudoin<br /></div>