<table><tr><td style="">jtamate created this revision.<br />jtamate added a reviewer: KDE Games.
</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/D9198" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The warning was produced by Qt due to a incredible big size for an image<br />
QSize(1140863441, 1492201392).<br />
Setting the size of the QGraphicsScene to 0, it will grown up as needed.<br />
Without the removal of setItemIndexMethod( NoIndex ); the warnings are<br />
still there, but I guess the scene in kmines is not very dynamic.<br />
There are still warnings when using the theme "Caos en el cementerio"<br />
(The title is in spanish even after changing the application language).<br />
BUG: 259006</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>run "QT_FATAL_WARNINGS=1 kmines" without crashing, except when Qt parses<br />
the file graveyard-mayhem.svgz (Caos en el cementerio).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R404 KMines</div></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/D9198" rel="noreferrer">https://phabricator.kde.org/D9198</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>scene.cpp</div></div></div><br /><div><strong>To: </strong>jtamate, KDE Games<br /></div>