Application Continues in Background , even When Gui is closed with [X]
-
My Application calls various function depending on if else conditions...If i close the application with X button of the window...the Gui disappears , but the process continues unless the condition is false....So how to i terminate the whole process with X button ??
-
Connect QWidget::closed() with QApplication::quit().
-
Ya thanks :) ...i used QCloseEvent and its done