[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/docgenerators

Oliver Kellogg okellogg at users.sourceforge.net
Sat Jun 30 18:09:43 UTC 2007


SVN commit 681900 by okellogg:

compile with KDE 3.3

 M  +8 -0      docbookgenerator.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/docgenerators/docbookgenerator.cpp #681899:681900
@@ -73,7 +73,15 @@
       destDir, false);
   if (!errors.empty())
   {
+#if KDE_IS_VERSION(3,4,0)
     KMessageBox::errorList(app, i18n("Some errors happened when exporting the images:"), errors);
+#else
+    QString errorsCaption;
+    for (QStringList::Iterator it = errors.begin(); it != errors.end(); ++it) {
+        errorsCaption += "\n" + *it;
+    }
+    KMessageBox::error(app, i18n("Some errors happened when exporting the images:") + errorsCaption);
+#endif
     return 0;
   }
 




More information about the umbrello-devel mailing list