That is obvious to me, but how I surrender the pointer?
That is obvious to me, but how I surrender the pointer?
I assume you are calling the dialog from within the main window, so you can call some custom method that will feed this pointer to the dialog. However if the goal of your MainWindow::someData() is to provide data for the dialog, it is better to add a method to the dialog that allows to pass (and store) the data object directly from the window when the dialog gets called.
Ok, thanks for your help!
Bookmarks