[devel] kdenonbeta/kdedebian/kapture/kurrent

Peter Rockai <[email protected]> Wed, 21 Jul 2004 09:21:01 +0200 (CEST)
Newsgroups gmane.comp.kde.debian
Message-ID <20040721072101.A7A6426C8__19005.4973042153$1093223242$gmane$org@office.kde.org>
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


_______________________________________________
kde-debian-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-debian-devel