<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello David,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 25.06.2021 um 13:28 schrieb David Boddie <<a href="mailto:david@boddie.org.uk" class="">david@boddie.org.uk</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Wed Jun 23 22:49:16 BST 2021, Axel Rau wrote:<br class=""><br class=""><blockquote type="cite" class="">Source can be checked out here:<br class=""><span class="Apple-tab-span" style="white-space:pre">   </span>git clone git at <a href="http://codeberg.org" class="">codeberg.org</a> <mailto:git at <a href="http://codeberg.org" class="">codeberg.org</a>>:ajr/zad.git<br class=""><br class="">This version runs the DNS stuff until completion but does not display the<br class="">MainWindow, only the app icon. It requires a network connection.<br class=""></blockquote><br class="">It looks like the main window will be destroyed before the application's<br class="">event loop runs.<br class=""><br class="">In <a href="https://codeberg.org/ajr/zad/src/branch/master/zad/views/main.py" class="">https://codeberg.org/ajr/zad/src/branch/master/zad/views/main.py</a> you<br class="">create an instance of ZaMainWindow and configure it, but you don't return it<br class="">to the calling function or keep a reference to it, so it will be garbage<br class="">collected.<br class=""></div></div></blockquote></div><div class=""><br class=""></div>That’s it.<div class="">No magic in Qt.</div><div class="">It seems I missed the basics of oop here. (-;</div><div class=""><br class=""></div><div class="">Thanks a lot,</div><div class="">Axel<br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">---<br class="">PGP-Key: CDE74120  ☀  computing @ chaos claudius</div></div></div></div></div></div>
</div>
<br class=""></div></body></html>