<table><tr><td style="">ltoscano requested changes to this revision.<br />ltoscano added a comment.<br />This revision now requires changes to proceed.
</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/D5544" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>The program crashes when you select a non-standard game (which I guess comes from wrong reading of some URL). Porting to QUrl requires a bit of investigation as the behavior is a bit different.</p>
<p>Please note that they may be other crashes or other unexpected behaviors; a deeper testing which touches all the code which is changed here is needed.</p>
<p>Example of crash:</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);">#6 0x000055e83b8bfcbc in QVector<int>::size() const ()
#7 0x000055e83b8ce5d0 in ksudoku::Puzzle::hasSolution() const ()
#8 0x000055e83b8de721 in ksudoku::WelcomeScreen::generatePuzzle() ()
#9 0x000055e83b8dfae3 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ksudoku::WelcomeScreen::*)()>::call(void (ksudoku::WelcomeScreen::*)(), ksudoku::WelcomeScreen*, void**) ()
#10 0x000055e83b8dfa75 in void QtPrivate::FunctionPointer<void (ksudoku::WelcomeScreen::*)()>::call<QtPrivate::List<>, void>(void (ksudoku::WelcomeScreen::*)(), ksudoku::WelcomeScreen*, void**) ()
#11 0x000055e83b8df981 in QtPrivate::QSlotObject<void (ksudoku::WelcomeScreen::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#12 0x00007f89c5ef295e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f89c7559135 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f89c756686a in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
[...]</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R417 KSudoku</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5544" rel="noreferrer">https://phabricator.kde.org/D5544</a></div></div><br /><div><strong>To: </strong>ouwerkerk, KDE Games, ltoscano<br /><strong>Cc: </strong>ltoscano, KDE Games<br /></div>