CVS commit by mornfall: Quit the app when the window is closed... M +1 -0 main.cpp 1.2 --- kdenonbeta/kdedebian/kapture/kurrent/main.cpp #1.1:1.2 @@ -25,4 +25,5 @@ int main(int argc, char **argv) KCmdLineArgs::addCmdLineOptions(options); KApplication app; + QObject::connect (&app, SIGNAL (lastWindowClosed ()), &app, SLOT (quit ())); // register ourselves as a dcop client