|
Page 2 of 3 |
|
Prev |
1 2
3
|
Next
Re: Closing an application without killing main loop
install event filter
|
Re: Closing an application without killing main loop
Quote:
|
Re: Closing an application without killing main loop
Quote:
|
Re: Closing an application without killing main loop
Quote:
|
Re: Closing an application without killing main loop
I think the reason for newly started main loop is in qwaylandeventthread.cpp line 37:
https://qt.gitorious.org/qt/qtwaylan...thread.cpp#L37 When app window is closed, the Wayland connection is broken and if something (in the new mainloop?) calls readWaylandEvents(), the process is killed. |
Re: Closing an application without killing main loop
okay, event filtering seems not to work in emulator, try:
Code:
app->connect( app, SIGNAL(lastWindowClosed()), app, SLOT(quit()) );and Code:
int retVal = app->exec(); |
Re: Closing an application without killing main loop
Quote:
|
Re: Closing an application without killing main loop
what about other methods?
|
Re: Closing an application without killing main loop
Quote:
https://code.google.com/p/qgvdial/so...k/src/main.cpp |
Re: Closing an application without killing main loop
Quote:
|
| All times are GMT. The time now is 13:25. |
Page 2 of 3 |
|
Prev |
1 2
3
|
Next
vBulletin® Version 3.8.8