store url bar pointer, don't rely on parent
we no longer have that parent at that point
I would have directly pushed it, but now that the signal works again at least I get
Thread 1 "kate" received signal SIGSEGV, Segmentation fault.
0x00007ffff5bd132e in QStandardItem::child(int, int) const () from /usr/lib/libQt5Gui.so.5
(gdb) bt
#0 0x00007ffff5bd132e in QStandardItem::child(int, int) const () from /usr/lib/libQt5Gui.so.5
#1 0x00007ffff5bd1617 in QStandardItemModel::data(QModelIndex const&, int) const () from /usr/lib/libQt5Gui.so.5
#2 0x000055555561d2e8 in QModelIndex::data (this=0x5555581cac18, arole=257) at /usr/include/qt/QtCore/qabstractitemmodel.h:460
#3 0x0000555555631fb3 in BreadCrumbView::onClicked (this=0x5555580e1360, idx=...) at /home/cullmann/projects/kde/src/kate/kate/kateurlbar.cpp:335
#4 0x000055555563598b in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (BreadCrumbView::*)(QModelIndex const&)>::call (f=(void (BreadCrumbView::*)(BreadCrumbView * const, const QModelIndex &)) 0x555555631f64 <BreadCrumbView::onClicked(QModelIndex const&)>, o=0x5555580e1360,
arg=0x7fffffffd090) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#5 0x000055555563566f in QtPrivate::FunctionPointer<void (BreadCrumbView::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void> (f=
(void (BreadCrumbView::*)(BreadCrumbView * const, const QModelIndex &)) 0x555555631f64 <BreadCrumbView::onClicked(QModelIndex const&)>, o=0x5555580e1360,
arg=0x7fffffffd090) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#6 0x0000555555634a8b in QtPrivate::QSlotObject<void (BreadCrumbView::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl (which=1,
this_=0x555558213bb0, r=0x5555580e1360, a=0x7fffffffd090, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#7 0x00007ffff53559d3 in ?? () from /usr/lib/libQt5Core.so.5
#8 0x00007ffff61dcbba in QAbstractItemView::clicked(QModelIndex const&) () from /usr/lib/libQt5Widgets.so.5
#9 0x00005555556322f3 in BreadCrumbView::focusInEvent(QFocusEvent*)::{lambda()#1}::operator()() const (__closure=0x5555581cac10)
at /home/cullmann/projects/kde/src/kate/kate/kateurlbar.cpp:364
#10 0x0000555555635b0a in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, BreadCrumbView::focusInEvent(QFocusEvent*)::{lambda()#1}>::call(BreadCrumbView::focusInEvent(QFocusEvent*)::{lambda()#1}&, void**) (f=..., arg=0x7fffe0006338) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#11 0x0000555555635708 in QtPrivate::Functor<BreadCrumbView::focusInEvent(QFocusEvent*)::{lambda()#1}, 0>::call<QtPrivate::List<>, void>(BreadCrumbView::focusInEvent(QFocusEvent*)::{lambda()#1}&, void*, void**) (f=..., arg=0x7fffe0006338) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#12 0x0000555555634d78 in QtPrivate::QFunctorSlotObject<BreadCrumbView::focusInEvent(QFocusEvent*)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x5555581cac00, r=0x5555580e1360, a=0x7fffe0006338, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#13 0x00007ffff5348dc6 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff605b123 in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff5f741a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5