[Uml-devel] KDE/kdesdk/umbrello/umbrello

Andi Fischer andi.fischer at hispeed.ch
Sat Apr 11 02:48:39 UTC 2009


SVN commit 952131 by fischer:

Application closing after exporting with --export fixed.

 M  +2 -2      cmdlineexportallviewsevent.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/cmdlineexportallviewsevent.cpp #952130:952131
@@ -60,7 +60,7 @@
 
 /**
  * Exports all the views using UMLViewImageExporterModel, prints the errors
- * occurred in the error output and sends a close event to the application to finish it.
+ * occurred in the error output and quits the application.
  * To export the views, it uses the attributes set when the event was created.
  */
 void CmdLineExportAllViewsEvent::exportAllViews()
@@ -73,5 +73,5 @@
         }
     }
 
-    kapp->sendEvent(UMLApp::app(), new QCloseEvent());
+    kapp->quit();
 }




More information about the umbrello-devel mailing list